This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54932] Invalid loop code generated by Fortran FE for loops with bounds in HIGH(type)
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 17 Oct 2012 17:02:48 +0000
- Subject: [Bug fortran/54932] Invalid loop code generated by Fortran FE for loops with bounds in HIGH(type)
- Auto-submitted: auto-generated
- References: <bug-54932-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54932
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-10-17 17:02:48 UTC ---
I asked at
https://groups.google.com/forum/?fromgroups=#!topic/comp.lang.fortran/mkbYH6F9G2M
and two former J3 committee members concur that the code of comment 0 is
invalid:
Dick Hendrickson wrote: 'I think there was an interpretation request a few
years ago about something like this. I think the answer was "bad program".'
Richard Maine wrote: [...] 'the answer from the standard, which is basically
that the program is not conforming on procesors where the result for i
is not defined.'
Thus, I close the bug as INVALID.