This is rather bad:
Pike v7.4 release 13 running Hilfe v3.5 (Incremental Pike Frontend)
for(int i=0; i<3.0; i++)
if(i>4.0) error("Feh!\n");
Feh! HilfeInput:2: HilfeInput()->___HilfeWrapper()
Testsuite test committed.
This works now: for(int i=0; ((float)i)<3.0; i++) if(i>4) error("Feh!\n"); But this doesn't: for(int i=0; i<3.0; i++) if(i>4) error("Feh!\n");
So it's something wrong with the for-loop-optimization. Pike 7.2 has the same error.
/ Hedda (Icke-KOMare)
Previous text:
2003-01-29 18:20: Subject: 3.0 > 4.0?
This is rather bad:
Pike v7.4 release 13 running Hilfe v3.5 (Incremental Pike Frontend)
for(int i=0; i<3.0; i++)
if(i>4.0) error("Feh!\n");
Feh! HilfeInput:2: HilfeInput()->___HilfeWrapper()
Testsuite test committed.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Fixed in Pike 7.0, 7.2, 7.4 & 7.5. The bug was that the opcodes F_{INC,NEC}{,_NEQ}_LOOP assumed that the cutoff value was an integer.
/ Henrik Grubbström (Lysator)
Previous text:
2003-01-29 18:20: Subject: 3.0 > 4.0?
This is rather bad:
Pike v7.4 release 13 running Hilfe v3.5 (Incremental Pike Frontend)
for(int i=0; i<3.0; i++)
if(i>4.0) error("Feh!\n");
Feh! HilfeInput:2: HilfeInput()->___HilfeWrapper()
Testsuite test committed.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Great. I don't see a checkin message for 7.2 in the CVS browser though?
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-01-30 15:33: Subject: 3.0 > 4.0?
Fixed in Pike 7.0, 7.2, 7.4 & 7.5. The bug was that the opcodes F_{INC,NEC}{,_NEQ}_LOOP assumed that the cutoff value was an integer.
/ Henrik Grubbström (Lysator)
pike-devel@lists.lysator.liu.se