[Bug fortran/51589] Modification of loop index variable by intent(out) or intent(inout) procedures

w6ws at earthlink dot net gcc-bugzilla@gcc.gnu.org
Fri Dec 16 22:40:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51589

--- Comment #2 from Walter Spector <w6ws at earthlink dot net> 2011-12-16 22:37:44 UTC ---
No error messages from Absoft (v9), g95, or PGI (v11.10).  All print the
revised version of i, but only perform 10 iterations.

NAG (5.2 edit 721) considers the intent(out) to be an error.  No warning for
the intent(inout).



More information about the Gcc-bugs mailing list