From: kazu Date: Sat, 14 May 2005 20:22:58 +0000 (+0000) Subject: * tree-optimize.c (init_tree_optimization_passes): Move X-Git-Tag: upstream/4.9.2~61204 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e66038eb34e656bb1ac7e1bbe6c6f5ed18602ec1;p=platform%2Fupstream%2Flinaro-gcc.git * tree-optimize.c (init_tree_optimization_passes): Move pass_cd_dce in place of the last pass_dce. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99704 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 84e1796..2338389 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-05-14 Kazu Hirata + + * tree-optimize.c (init_tree_optimization_passes): Move + pass_cd_dce in place of the last pass_dce. + 2005-05-14 Nathan Sidwell Jan-Benedict Glaw diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c index ba35c37..66c25de 100644 --- a/gcc/tree-optimize.c +++ b/gcc/tree-optimize.c @@ -389,7 +389,7 @@ init_tree_optimization_passes (void) NEXT_PASS (pass_loop); NEXT_PASS (pass_dominator); NEXT_PASS (pass_copy_prop); - NEXT_PASS (pass_dce); + NEXT_PASS (pass_cd_dce); /* FIXME: If DCE is not run before checking for uninitialized uses, we may get false warnings (e.g., testsuite/gcc.dg/uninit-5.c). However, this also causes us to misdiagnose cases that should be @@ -400,7 +400,6 @@ init_tree_optimization_passes (void) variable. Using a representation like Gated Single Assignment may help. */ NEXT_PASS (pass_late_warn_uninitialized); - NEXT_PASS (pass_cd_dce); NEXT_PASS (pass_dse); NEXT_PASS (pass_forwprop); NEXT_PASS (pass_phiopt);