aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2006-04-25 21:34:48 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2006-04-25 21:34:48 +0000
commitc0c5d392eba482f455615a4b9b74bb50c46a39ca (patch)
tree88d5cda8d344900920984288dbed68fef548c553 /gcc/cfgrtl.c
parent60e1758f60c2be0682dcbac7ea270b90e78ec526 (diff)
downloadgcc-c0c5d392eba482f455615a4b9b74bb50c46a39ca.zip
gcc-c0c5d392eba482f455615a4b9b74bb50c46a39ca.tar.gz
gcc-c0c5d392eba482f455615a4b9b74bb50c46a39ca.tar.bz2
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
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c1
1 files changed, 1 insertions, 0 deletions
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);
}