diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-25 21:34:48 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-25 21:34:48 +0000 |
commit | 342baf8cecf6a2039807f4a640c727879477c26e (patch) | |
tree | 88d5cda8d344900920984288dbed68fef548c553 /gcc/cfgrtl.c | |
parent | 4d006f8aedf1fe49c0a0652bca263fe789db5d69 (diff) | |
download | gcc-342baf8cecf6a2039807f4a640c727879477c26e.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113257 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r-- | gcc/cfgrtl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index b4875d2b335..54f355e6dfd 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); } |