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

2012-12-01 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51589 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

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

2011-12-18 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51589 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2011-12-17 Thread w6ws at earthlink dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51589 --- Comment #5 from Walter Spector 2011-12-17 19:04:12 UTC --- It seems like intent information should be available when the procedures are USE associated, as opposed to the internal procedures. However gfortran does not diagnose that case eithe

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

2011-12-17 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51589 Tobias Burnus changed: What|Removed |Added Keywords||diagnostic CC|

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

2011-12-16 Thread anlauf at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51589 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #3 from

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

2011-12-16 Thread w6ws at earthlink dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51589 --- Comment #2 from Walter Spector 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 e

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

2011-12-16 Thread w6ws at earthlink dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51589 --- Comment #1 from Walter Spector 2011-12-16 21:32:55 UTC --- Sorry - my description is backwards from the test case. The first is intent(inout), and should probably give a warning. The second is intent(out) and should give an error.