GCC trunk gets an internal compiler error when building SPEC CPU2000 test 416.gamess with "-O2 -fselective-scheduling2 -fsel-sched-pipelining -funroll-all-loops" on powerpc64-linux, as demonstrated by a minimized testcase that I'll attach to this PR.
elm3b187% /opt/gcc-nightly/trunk/bin/gfortran -c -O2 -fselective-scheduling2 -fsel-sched-pipelining -funroll-all-loops bug.f bug.f: In function orien: bug.f:35:0: internal compiler error: in code_motion_path_driver, at sel-sched.c:6532 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. The failure starts with this very large patch (Expand from SSA): http://gcc.gnu.org/viewcvs?view=rev&rev=146817 r146817 | matz | 2009-04-26 19:35:04 +0000 (Sun, 26 Apr 2009) -- Summary: ICE in code_motion_path_driver for 416.gamess Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janis at gcc dot gnu dot org GCC target triplet: powerpc64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42294