aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2002-06-16 09:50:12 -0600
committerJeff Law <law@gcc.gnu.org>2002-06-16 09:50:12 -0600
commit038c79764b247f03fb5dfc2943cc32a8b3e15b6e (patch)
treef5a7ebb057cb895e4eaf6c220bcf79cfc9dd8ff7
parent4df6abc6b3e3899f2c619d27c4c873a8a8e25341 (diff)
downloadgcc-038c79764b247f03fb5dfc2943cc32a8b3e15b6e.zip
gcc-038c79764b247f03fb5dfc2943cc32a8b3e15b6e.tar.gz
gcc-038c79764b247f03fb5dfc2943cc32a8b3e15b6e.tar.bz2
toplev.c (rest_of_compilation): Perform a simpler, less costly cleanup of the CFG when not optimizing.
* toplev.c (rest_of_compilation): Perform a simpler, less costly cleanup of the CFG when not optimizing. From-SVN: r54667
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/toplev.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 875403a..e648f37 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-16 Jeff Law <law@redhat.com>
+
+ * toplev.c (rest_of_compilation): Perform a simpler, less costly
+ cleanup of the CFG when not optimizing.
+
2002-06-16 Alan Modra <amodra@bigpond.net.au>
* gcc.c (main): Correct startfile_prefix_spec check.
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 7965059..7c1e0d6 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -2720,7 +2720,7 @@ rest_of_compilation (decl)
}
timevar_push (TV_JUMP);
- cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_PRE_LOOP);
+ cleanup_cfg (optimize ? CLEANUP_EXPENSIVE | CLEANUP_PRE_LOOP: 0);
/* Try to identify useless null pointer tests and delete them. */
if (flag_delete_null_pointer_checks)