At revision 155425 the executable for air.f90 compiled with "-O2 -fgraphite-identity" gives:
... ITERATION# TIME FINAL MASS RESIDUAL 14 100.000043187820 0.01000000 NaN deltat, final t, iterations 100.00000000000000 100.00004318782042 14 14 NaN The executable obtained with "-O1 -fgraphite-identity" is correct. -- Summary: Wrong-code for air.f90 with "-O2 -fgraphite-identity" Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dominiq at lps dot ens dot fr GCC build triplet: x86_64-apple-darwin10 GCC host triplet: x86_64-apple-darwin10 GCC target triplet: x86_64-apple-darwin10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42480