diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2007-01-18 08:17:06 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2007-01-18 08:17:06 +0000 |
commit | aeceeb06a15d71d55fcc41c0ff3b3b9be01c79a1 (patch) | |
tree | 454922e216b8e55458271a4dd8cad1c5803279a6 /gcc/cfgcleanup.c | |
parent | 0eb5e2b93d6816f51c3d61ca837853c9364fbb6f (diff) | |
download | gcc-aeceeb06a15d71d55fcc41c0ff3b3b9be01c79a1.zip gcc-aeceeb06a15d71d55fcc41c0ff3b3b9be01c79a1.tar.gz gcc-aeceeb06a15d71d55fcc41c0ff3b3b9be01c79a1.tar.bz2 |
cfgcleanup.c (cleanup_cfg): Detect cfglayout mode and set the CLEANUP_CFGLAYOUT flag when in cfglayout mode.
* cfgcleanup.c (cleanup_cfg): Detect cfglayout mode and set
the CLEANUP_CFGLAYOUT flag when in cfglayout mode.
* Makefile.c (GTFILES): Add cfglayout.h.
* gengtype.c (open_base_files): Likewise.
* cfglayout.c (cfg_layout_function_footer,
cfg_layout_function_header) Reindent to make gengtype happy.
* cfglayout.h (cfg_layout_function_footer,
cfg_layout_function_header): Add GTY(()) marker.
* ifcvt.c (noce_try_sign_mask): Make sure INSN_B is non-null.
From-SVN: r120893
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r-- | gcc/cfgcleanup.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index ad9ae4f..7f2abf1 100644 --- a/gcc/cfgcleanup.c +++ b/gcc/cfgcleanup.c @@ -2220,6 +2220,12 @@ cleanup_cfg (int mode) { bool changed = false; + /* Set the cfglayout mode flag here. We could update all the callers + but that is just inconvenient, especially given that we eventually + want to have cfglayout mode as the default. */ + if (current_ir_type () == IR_RTL_CFGLAYOUT) + mode |= CLEANUP_CFGLAYOUT; + timevar_push (TV_CLEANUP_CFG); if (delete_unreachable_blocks ()) { |