aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-07-15 08:47:05 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-07-15 08:47:05 -0700
commitc319629b9a95ef4d8382cb86647589ee06f837d1 (patch)
tree75e68a4d9edfabe45a1cb8b284f932ff4f37e9b2 /gcc/toplev.c
parent25e21aed5640682f693cd304b2d24007d797ce7d (diff)
downloadgcc-c319629b9a95ef4d8382cb86647589ee06f837d1.zip
gcc-c319629b9a95ef4d8382cb86647589ee06f837d1.tar.gz
gcc-c319629b9a95ef4d8382cb86647589ee06f837d1.tar.bz2
flow.c (redirect_edge_and_branch_force): Initialize global_live_at_start and global_live_at_end.
* flow.c (redirect_edge_and_branch_force): Initialize global_live_at_start and global_live_at_end. (allocate_bb_life_data): Export. * basic-block.h (allocate_bb_life_data): Declare it. * toplev.c (rest_of_compilation): Call it. From-SVN: r44023
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 4161872..b3154dc 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -3371,6 +3371,7 @@ rest_of_compilation (decl)
without updating life info can wind up with Wierd Stuff in
global_live_at_end. We then run sched1, which updates things
properly, discovers the wierdness and aborts. */
+ allocate_bb_life_data ();
update_life_info (NULL, UPDATE_LIFE_GLOBAL_RM_NOTES,
PROP_DEATH_NOTES | PROP_KILL_DEAD_CODE
| PROP_SCAN_DEAD_CODE);