https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120606
Gaius Mulley changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120606
--- Comment #4 from GCC Commits ---
The master branch has been updated by Gaius Mulley :
https://gcc.gnu.org/g:639a147414ab2b870f9482123fcaa1821e0d5475
commit r16-1347-g639a147414ab2b870f9482123fcaa1821e0d5475
Author: Gaius Mulley
Date: Mon
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120606
--- Comment #3 from Gaius Mulley ---
Created attachment 61607
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61607&action=edit
Proposed fix which dereferences any Lvalue for start and end expression of a
for loop
The above patch fixes the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120606
Gaius Mulley changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120606
--- Comment #1 from Gaius Mulley ---
The same example code, with the correct cased keywords:
MODULE forarray ;
VAR
array: ARRAY [0..10] OF INTEGER ;
PROCEDURE Init ;
VAR
i, n: CARDINAL ;
BEGIN
array[0] := 10 ;
n := 0 ;
FOR i :=