http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48644
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-04-16 23:42:03 UTC --- For the record, (1) -fwhole-program is enough to see the problem, (2) it does not occurs if used with -flto (this is why I did not see it), (3) it does not occurs at r170284, but it does at r170493 (likely r170414), (4) I confirm it is fixed by the patch for pr48624 (http://gcc.gnu.org/ml/fortran/2011-04/msg00166.html ).