This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/44354] implied do loop with its own variable name as upper bound
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 26 Jul 2012 09:04:09 +0000
- Subject: [Bug fortran/44354] implied do loop with its own variable name as upper bound
- Auto-submitted: auto-generated
- References: <bug-44354-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44354
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Known to fail| |
--- Comment #25 from Mikael Morin <mikael at gcc dot gnu.org> 2012-07-26 09:04:09 UTC ---
The code in comment 0 now gives the expected output:
1 2 3 4 5
It is accepted by default with a warning.
It is rejected with -std=f{95,2003,2008}.
Thus, (finally) fixed for 4.8.0.