[Bug fortran/49103] [4.6/4.7 Regression] local variables exchange values / wrong code with -O3
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Sun May 22 11:22:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49103
--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-05-22 11:07:19 UTC ---
> I would say look if -fno-whole-file works (or -fno-inline) or alternatively
> watch out for not properly merged DECLs. ISTR some issues with module globals.
None of these flags fix the PR. Note that if I comment the line
write(*,*) 'Compare the base grades:', fbasegrades
in the test in comment #4, fgrades is (2, 2).
More information about the Gcc-bugs
mailing list