http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46602
Summary: [4.6 Regression] gcc.dg/pr42245-2.c ICE on ia64 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: amona...@gcc.gnu.org ReportedBy: amona...@gcc.gnu.org CC: hjl.to...@gmail.com Target: ia64-linux Introduced with r166697, my fix for PR 46204. I'm testing the following patch. Index: gcc/sel-sched-ir.c =================================================================== --- gcc/sel-sched-ir.c (revision 167024) +++ gcc/sel-sched-ir.c (working copy) @@ -3650,10 +3650,6 @@ remove_empty_bb (bb, true); } -#ifdef ENABLE_CHECKING - verify_backedges (); -#endif - return true; } @@ -3735,6 +3731,11 @@ if (recompute_toporder_p) sel_recompute_toporder (); } + +#ifdef ENABLE_CHECKING + verify_backedges (); +#endif + return changed; }