[Bug fortran/69368] [6 Regression] spec2006 test case 416.gamess fails with the g++ 6.0 compiler starting with r232508

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 9 16:11:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69368

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu.org

--- Comment #35 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to rguenther@suse.de from comment #34)

> >So if this is Fortran-only, we probably have to hook off --std=legacy,
> >right?
> 
> Yes.

Ouch.

This is not really in line to what std=legacy does.  Maybe
using a separate Fortran-only option, something like
-fbroken-common-blocks, would be better.

On the other hand, it might be a good idea to warn if such stores
are removed.  I suspect that such a warning will catch many
bugs in the existing codebase, if it is found in SPEC...


More information about the Gcc-bugs mailing list