Revert this patch:
authorMark Mitchell <mark@codesourcery.com>
Wed, 13 Jun 2001 03:21:48 +0000 (03:21 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 13 Jun 2001 03:21:48 +0000 (03:21 +0000)
* toplev.c (rest_of_compilation): Remove dead code before
purge_addressof.

From-SVN: r43301

gcc/ChangeLog
gcc/toplev.c

index 880e3b2ebf82a234f1fd0434f100fd722438c27b..56403837ab3c2eacc7788f3473d6a1d18859bd95 100644 (file)
@@ -1,3 +1,9 @@
+2001-06-09  Mark Mitchell  <mark@codesourcery.com>
+
+       Revert this patch:
+       * toplev.c (rest_of_compilation): Remove dead code before
+       purge_addressof.
+       
 2001-06-12  Alexandre Oliva  <aoliva@redhat.com>
 
        Reverted:
index 16a1de5f45ca7e2d2047f66e594caf058a55ddb6..7272d0c6b6586eb37542ac95287464dab716e2b5 100644 (file)
@@ -3025,16 +3025,6 @@ rest_of_compilation (decl)
          timevar_pop (TV_JUMP);
        }
 
-      /* It's important to remove dead code before we call
-        purge_addressof.  Sometimes, the only ADDRESSOFs for a REG
-        will be dead, and if we don't get rid of them, we will end up
-        committing ourselves to dumping the REG to the stack
-        unnecessarily.  */
-      find_basic_blocks (insns, max_reg_num (), rtl_dump_file);
-      cleanup_cfg ();
-      life_analysis (insns, rtl_dump_file, 
-                    PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE);
-      
       /* The second pass of jump optimization is likely to have
          removed a bunch more instructions.  */
       renumber_insns (rtl_dump_file);