[Bug fortran/79430] [7 Regression] action of statement incorrectly optimised away

juergen.reuter at desy dot de gcc-bugzilla@gcc.gnu.org
Thu Feb 9 07:07:00 GMT 2017


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

--- Comment #17 from Jürgen Reuter <juergen.reuter at desy dot de> ---
(In reply to Jerry DeLisle from comment #16)
> (In reply to Jürgen Reuter from comment #15)
> > With -fcheck=all nothing is flagged, but the test works as expected, as well
> > as if I (independently from the fcheck) compile everything with -fno-inline .
> 
> Also compile with -Wall and see if anything pops out. 
> 
> Try valgrind on executable compiled with and without the -fno-inline as well.

-Wall shows only a lot of unused dummy arguments which are unavoidable for
polymorphism . But when compiled with -Wall also the problem doesn't show up.
We will try to run valgrind on the code without flags and with -fno-inline as
well.


More information about the Gcc-bugs mailing list