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).