Maurice Lombardi wrote:
Le 27/04/2013 20:47, Waldek Hebisch a =E9crit :
BTW2: In Pascal expressions are normally computed using "full" types and range restrictions only play role for assignment. The "equivalent" code will perform assignment to control variable only when body will be execute.
This is how gpc should work, but not how it actually works with current gpc version (20070904 with either 3.4.5 or 4.3.5 gcc backends).
Yes, it is a gpc bug.