aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cfgrtl.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e259e60..732e788 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2004-09-07 Jan Hubicka <jh@suse.cz>
* tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Deal with '<'
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)