------- Comment #16 from dominiq at lps dot ens dot fr 2009-08-25 21:25 ------- After some discussion on IRC with Tobias Schlüter, it seems that the problem comes from bad optimizations that are broken by chance with the original code. Commenting line 139:
WRITE (6,*) i , spx(i) , epx(i) , NPX(i) is enough to go from ~8.5s to ~10.2s without having nothing to do with -fwhole-file or Tobias' patch. -- dominiq at lps dot ens dot fr changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Time increase with inlining |Time increase for the |for the Polyhedron test |Polyhedron test air.f90 due |air.f90 |to bad optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40106