[patch, fortran] PR 50554 - redefinition of index variable with inquire(iolength=...)
Thomas Koenig
tkoenig@netcologne.de
Thu Jun 27 18:52:00 GMT 2013
Hello world,
the attached patch raises an error if an index variable is redefined
with inquire(iolength=...).
OK for trunk?
Thomas
2013-06-27 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/50554
* frontend-passes.c (doloop_code): Check do loop variables for
EXEC_IOLENGTH.
(do_function): Whitespace fix.
(gfc_code_walker): Handle EXEC_IOLENGTH.
2013-06-27 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/50554
* gfortran.dg/do_check_9.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: do_check_9.f90
Type: text/x-fortran
Size: 291 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20130627/80e2927c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 1715 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20130627/80e2927c/attachment-0001.bin>
More information about the Fortran
mailing list