aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgcleanup.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2004-01-23 12:02:09 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2004-01-23 11:02:09 +0000
commit23bd7a9342bdb30b732cbb678a6d29c2245e8449 (patch)
tree802fba0f5d8b9b39d10bd272582ae4909f3a1a5e /gcc/cfgcleanup.c
parentb291953f9d4b1c4f927cd20a7905d4f633fa3162 (diff)
downloadgcc-23bd7a9342bdb30b732cbb678a6d29c2245e8449.zip
gcc-23bd7a9342bdb30b732cbb678a6d29c2245e8449.tar.gz
gcc-23bd7a9342bdb30b732cbb678a6d29c2245e8449.tar.bz2
basic-block.h (PROP_POSTRELOAD): New macro.
* basic-block.h (PROP_POSTRELOAD): New macro. (CLEANUP_LOG_LINKS): New. * cfgcleanup.c (cleanup_cfg): Only PROP_LOG_LINKS when asked to. * toplev.c (rest_of_handle_life): Preserve LOG_LINKS trought cleanup_cfg. * cselib.c (value_pool): New. (new_cselib_val): Use pool. (cselib_init): Initialize value_pool (cselib_finish): Free pool. From-SVN: r76405
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r--gcc/cfgcleanup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index ad44cbb..10bffe7 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -1916,7 +1916,8 @@ cleanup_cfg (int mode)
PROP_DEATH_NOTES
| PROP_SCAN_DEAD_CODE
| PROP_KILL_DEAD_CODE
- | PROP_LOG_LINKS))
+ | ((mode & CLEANUP_LOG_LINKS)
+ ? PROP_LOG_LINKS : 0)))
break;
}
else if (!(mode & (CLEANUP_NO_INSN_DEL | CLEANUP_PRE_SIBCALL))