aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2004-09-07 17:54:16 +0000
committerCaroline Tice <ctice@gcc.gnu.org>2004-09-07 10:54:16 -0700
commit9beb1c849ed6e852b744057cddd870c0511ecafe (patch)
tree0de82497aca236845916553e8851f0b2ed9845ee /gcc/cfgrtl.c
parent1905940fb06bdb5ba70f251f73d036581a5d4475 (diff)
downloadgcc-9beb1c849ed6e852b744057cddd870c0511ecafe.zip
gcc-9beb1c849ed6e852b744057cddd870c0511ecafe.tar.gz
gcc-9beb1c849ed6e852b744057cddd870c0511ecafe.tar.bz2
Fix hot/cold partitioning problem.
2004-09-07 Caroline Tice <ctice@apple.com> * cfgrtl.c (rtl_verify_flow_info_1): Add new edge flag, EDGE_CROSSING, to flags test case. From-SVN: r87149
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index ce676a6..a35fdbd 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -1995,7 +1995,8 @@ rtl_verify_flow_info_1 (void)
if ((e->flags & ~(EDGE_DFS_BACK
| EDGE_CAN_FALLTHRU
| EDGE_IRREDUCIBLE_LOOP
- | EDGE_LOOP_EXIT)) == 0)
+ | EDGE_LOOP_EXIT
+ | EDGE_CROSSING)) == 0)
n_branch++;
if (e->flags & EDGE_ABNORMAL_CALL)