kargl at gcc dot changed:

           What    |Removed                     |Added
                 CC|                            |kargl at gcc dot

--- Comment #6 from kargl at gcc dot ---
(In reply to Richard Biener from comment #5)
> ICE fixed.

Add -fcheck=all to your command line options.

With the ICE fixed, I think that this falls squarely in the
WONTFIX or INVALID category.  It is the user's responsibility
to check if the value of i is within the bounds of the string.

% gfc7 -o z -O2 -fcheck=all -finit-integer=-123456 a.f90 && ./z
At line 5 of file a.f90
Fortran runtime error: Substring out of bounds: lower bound (-123456)
is less than one

Reply via email to