[Bug fortran/44354] incorrect output at run time
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jun 1 04:31:00 GMT 2010
------- Comment #17 from pault at gcc dot gnu dot org 2010-06-01 04:31 -------
(In reply to comment #13)
> Due to my confusion over the scope of 'i' and 'I',
> I posted to c.l.f. As usual Richard Maine pieced
> through the standard's language.
>
> http://groups.google.com/group/comp.lang.fortran/browse_frm/thread/1f88cd2dec855d73#
As John Harper did on the above thread, I found:
fortcom: Error: pr44354.f90, line 3: It is not permissible to reference the
value of an ac-implied-do variable in one of its limit expressions
print *,(/(i,i=1,I)/)
-----------------^
compilation aborted for pr44354.f90 (code 1)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44354
More information about the Gcc-bugs
mailing list