From: Richard Biener Date: Fri, 6 May 2016 07:27:33 +0000 (+0000) Subject: fwprop.c (fwprop): Remove duplicate cleanup_cfg call. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5d6c2d81c656ec92b3f190b29260479d63e3ce5;p=gcc.git fwprop.c (fwprop): Remove duplicate cleanup_cfg call. 2016-05-06 Richard Biener * fwprop.c (fwprop): Remove duplicate cleanup_cfg call. (fwprop_addr): Likewise. From-SVN: r235942 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6bf86daa042..5c542478720 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-06 Richard Biener + + * fwprop.c (fwprop): Remove duplicate cleanup_cfg call. + (fwprop_addr): Likewise. + 2016-05-06 Uros Bizjak PR target/70873 diff --git a/gcc/fwprop.c b/gcc/fwprop.c index d8cb9fa3bbb..7834bca7f51 100644 --- a/gcc/fwprop.c +++ b/gcc/fwprop.c @@ -1461,7 +1461,6 @@ static unsigned int fwprop (void) { unsigned i; - bool need_cleanup = false; fwprop_init (); @@ -1479,12 +1478,10 @@ fwprop (void) || DF_REF_BB (use)->loop_father == NULL /* The outer most loop is not really a loop. */ || loop_outer (DF_REF_BB (use)->loop_father) == NULL) - need_cleanup |= forward_propagate_into (use); + forward_propagate_into (use); } fwprop_done (); - if (need_cleanup) - cleanup_cfg (0); return 0; } @@ -1528,7 +1525,6 @@ static unsigned int fwprop_addr (void) { unsigned i; - bool need_cleanup = false; fwprop_init (); @@ -1542,13 +1538,10 @@ fwprop_addr (void) && DF_REF_BB (use)->loop_father != NULL /* The outer most loop is not really a loop. */ && loop_outer (DF_REF_BB (use)->loop_father) != NULL) - need_cleanup |= forward_propagate_into (use); + forward_propagate_into (use); } fwprop_done (); - - if (need_cleanup) - cleanup_cfg (0); return 0; }