diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-11-26 21:50:28 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-11-26 21:50:28 +0100 |
commit | 7e872b900f2c68ffa604f40cb43db717a744bbcc (patch) | |
tree | ad272056e6b58480273742f437a1673284cfc257 /gcc/cfgrtl.c | |
parent | a1c63c5fb9130b32529b567e4f1319e3d00e8764 (diff) | |
download | gcc-7e872b900f2c68ffa604f40cb43db717a744bbcc.tar.gz |
re PR rtl-optimization/49912 (ICE from -freorder-blocks-and-partition : verify_flow_info failed)
PR rtl-optimization/49912
* cfgrtl.c (rtl_verify_flow_info_1): Ignore also EDGE_PRESERVE bit
when counting n_branch.
* g++.dg/other/pr49912.C: New test.
From-SVN: r181743
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r-- | gcc/cfgrtl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index aeb4ba184e1..4b1d8350de5 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -1875,7 +1875,8 @@ rtl_verify_flow_info_1 (void) | EDGE_CAN_FALLTHRU | EDGE_IRREDUCIBLE_LOOP | EDGE_LOOP_EXIT - | EDGE_CROSSING)) == 0) + | EDGE_CROSSING + | EDGE_PRESERVE)) == 0) n_branch++; if (e->flags & EDGE_ABNORMAL_CALL) |