]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* toplev.c (rest_of_compilation): Perform a simpler, less costly
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Jun 2002 15:50:12 +0000 (15:50 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Jun 2002 15:50:12 +0000 (15:50 +0000)
        cleanup of the CFG when not optimizing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54667 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/toplev.c

index 875403aa2a6e17daa7a2d531a17d5cc783ef7c9e..e648f376895cd3487797111d03a2279ec9e03daa 100644 (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.
index 7965059f37f6f10b48b010c598d6219da5f36c38..7c1e0d68d6d7a477a0c5a2c738639824ea834304 100644 (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)