This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/51589] Modification of loop index variable by intent(out) or intent(inout) procedures
- From: "w6ws at earthlink dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Dec 2011 22:37:44 +0000
- Subject: [Bug fortran/51589] Modification of loop index variable by intent(out) or intent(inout) procedures
- Auto-submitted: auto-generated
- References: <bug-51589-4@http.gcc.gnu.org/bugzilla/>
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).