[Bug fortran/44354] implied do loop with its own variable name as upper bound

mikael at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 26 09:05:00 GMT 2012


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.



More information about the Gcc-bugs mailing list