Test perlbmk from SPEC CPU2000 hangs on powerpc-linux and i686-linux when compiled with "-O2 -fno-tree-dce -fno-tree-dominator-opts". I didn't manage to get a minimized testcase that fails on both targets, but do have two slightly different tests. Both of them hang in the loop that begins "for (t++;", just as 253.perlbmk does.
A regression hunt on powerpc-linux identified this patch: http://gcc.gnu.org/viewcvs?view=rev&rev=127993 r127993 | nickc | 2007-08-31 14:28:38 +0000 (Fri, 31 Aug 2007) -- Summary: perlbmk hangs with -O2 -fno-tree-dce -fno-tree- dominator-opts Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janis at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34034