http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50561
--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-02-08 17:02:16 UTC --- I saw a similar ICE for the polyhedron test air.f90. The patch in comment #7 fixes the ICE. However it produces a wrong code for -O2 and above, unless I use -fwhole-program.