aboutsummaryrefslogtreecommitdiff
path: root/gcc/ifcvt.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@cygnus.com>2000-05-20 20:26:18 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2000-05-20 20:26:18 +0000
commit13462862842c7daca19d3754627bc8aa3eeb1778 (patch)
tree4dfb5472e1f1c04570458d0da5e9253636f7d4a2 /gcc/ifcvt.c
parent242b0ce6533bf8e73ee9279b44cb7db4b75ac46b (diff)
downloadgcc-13462862842c7daca19d3754627bc8aa3eeb1778.zip
gcc-13462862842c7daca19d3754627bc8aa3eeb1778.tar.gz
gcc-13462862842c7daca19d3754627bc8aa3eeb1778.tar.bz2
* ifcvt.c (if_convert): Scan and kill dead code.
From-SVN: r34057
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r--gcc/ifcvt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c
index d2bb6bd..dd7763d 100644
--- a/gcc/ifcvt.c
+++ b/gcc/ifcvt.c
@@ -2038,7 +2038,8 @@ if_convert (life_data_ok)
count_or_remove_death_notes (update_life_blocks, 1);
update_life_info (update_life_blocks, UPDATE_LIFE_LOCAL,
- PROP_DEATH_NOTES);
+ PROP_DEATH_NOTES | PROP_SCAN_DEAD_CODE
+ | PROP_KILL_DEAD_CODE);
sbitmap_free (update_life_blocks);
}
@@ -2058,6 +2059,7 @@ if_convert (life_data_ok)
}
#ifdef ENABLE_CHECKING
- verify_flow_info ();
+ if (life_data_ok)
+ verify_flow_info ();
#endif
}