diff options
author | Richard Biener <rguenther@suse.de> | 2016-05-06 07:27:33 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2016-05-06 07:27:33 +0000 |
commit | f5d6c2d81c656ec92b3f190b29260479d63e3ce5 (patch) | |
tree | 91b877f8d0cc39adb196be03f7041f2495e43283 /gcc | |
parent | d0b2932ae8a51c65a8e151308641c609eab25bf9 (diff) | |
download | gcc-f5d6c2d81c656ec92b3f190b29260479d63e3ce5.zip gcc-f5d6c2d81c656ec92b3f190b29260479d63e3ce5.tar.gz gcc-f5d6c2d81c656ec92b3f190b29260479d63e3ce5.tar.bz2 |
fwprop.c (fwprop): Remove duplicate cleanup_cfg call.
2016-05-06 Richard Biener <rguenther@suse.de>
* fwprop.c (fwprop): Remove duplicate cleanup_cfg call.
(fwprop_addr): Likewise.
From-SVN: r235942
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fwprop.c | 11 |
2 files changed, 7 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6bf86da..5c54247 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-06 Richard Biener <rguenther@suse.de> + + * fwprop.c (fwprop): Remove duplicate cleanup_cfg call. + (fwprop_addr): Likewise. + 2016-05-06 Uros Bizjak <ubizjak@gmail.com> PR target/70873 diff --git a/gcc/fwprop.c b/gcc/fwprop.c index d8cb9fa..7834bca 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; } |