From 038c79764b247f03fb5dfc2943cc32a8b3e15b6e Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 16 Jun 2002 09:50:12 -0600 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/toplev.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 875403aa2a6e..e648f376895c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-06-16 Jeff Law + + * toplev.c (rest_of_compilation): Perform a simpler, less costly + cleanup of the CFG when not optimizing. + 2002-06-16 Alan Modra * gcc.c (main): Correct startfile_prefix_spec check. diff --git a/gcc/toplev.c b/gcc/toplev.c index 7965059f37f6..7c1e0d68d6d7 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)