mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 18:39:59 +08:00
Revert this patch:
* toplev.c (rest_of_compilation): Remove dead code before purge_addressof. From-SVN: r43301
This commit is contained in:
parent
cb65112ade
commit
6c7905cd83
@ -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:
|
||||
|
10
gcc/toplev.c
10
gcc/toplev.c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user