[Bug fortran/57904] [4.9 Regression] Bogus(?) "invokes undefined behavior" warning with Fortran's finalization wrapper (gfortran.dg/class_48.f90)

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Tue Aug 20 17:40:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57904

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernd.edlinger at hotmail dot de

--- Comment #3 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
this is somehow very similar to PR58143.
also here, the warning goes away at -O2 and -Os
if I add -fno-strict-overflow or -ftrapv or -fwrapv...



More information about the Gcc-bugs mailing list