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
This commit is contained in:
Jeff Law 2002-06-16 09:50:12 -06:00 committed by Jeff Law
parent 4df6abc6b3
commit 038c79764b
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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)