From c0c5d392eba482f455615a4b9b74bb50c46a39ca Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Tue, 25 Apr 2006 21:34:48 +0000 Subject: re PR rtl-optimization/26725 (ICE in check_reg_live, at haifa-sched.c:4645 with -O2 on ia64) gcc/ PR rtl-optimization/26725 * cfgrtl.c (rtl_redirect_edge_and_branch_force): Set the source block's BB_DIRTY flag. gcc/testsuite/ * gcc.c-torture/compile/pr26725.c: New test. From-SVN: r113257 --- gcc/cfgrtl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/cfgrtl.c') diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index b4875d2..54f355e 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -1170,6 +1170,7 @@ rtl_redirect_edge_and_branch_force (edge e, basic_block target) /* In case the edge redirection failed, try to force it to be non-fallthru and redirect newly created simplejump. */ + e->src->flags |= BB_DIRTY; return force_nonfallthru_and_redirect (e, target); } -- cgit v1.1