for-loops and subrange types

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Apr 26 21:01:34 CEST 2013


Hi,

Can anyone here offer some insights regarding the standard conformance of the test program submitted at http://bugs.freepascal.org/view.php?id=24318 ? (range.p)

Both FPC and GPC cause the program to abort with a range check error, while the submitter is of the opinion that the for-loop should merely short-circuit and never executed instead.


Jonas


More information about the Gpc mailing list