Re: for-loops and subrange types
Waldek Hebisch <[email protected]>
| Newsgroups | gmane.comp.compilers.gpc |
|---|---|
| Message-ID | <[email protected]> |
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.
--
Waldek Hebisch
[email protected]
_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc