diff options
author | Richard Biener <rguenther@suse.de> | 2016-10-18 07:49:32 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2016-10-18 07:49:32 +0000 |
commit | 62869a1ca1ddb89e9cb5c808bfe678979e4090f0 (patch) | |
tree | 9b48433a7fd86a899ee37dcf25707c8d19d7b3db /gcc/tree-ssa-ccp.c | |
parent | 699acd5b64b6dd9908f968d4fac14c61ae038afc (diff) | |
download | gcc-62869a1ca1ddb89e9cb5c808bfe678979e4090f0.zip gcc-62869a1ca1ddb89e9cb5c808bfe678979e4090f0.tar.gz gcc-62869a1ca1ddb89e9cb5c808bfe678979e4090f0.tar.bz2 |
tree-ssa-propagate.h (substitute_and_fold): Adjust prototype.
2016-10-18 Richard Biener <rguenther@suse.de>
* tree-ssa-propagate.h (substitute_and_fold): Adjust prototype.
* tree-ssa-propagate.c (ssa_prop_fini): Remove final BB_VISITED
clearing.
(substitute_and_fold_dom_walker): Adjust constructor.
(substitute_and_fold_dom_walker::before_dom_children): Remove
do_dce flag and handling (always true).
(substitute_and_fold): Likewise.
* tree-vrp.c (vrp_finalize): Adjust.
(execute_early_vrp): Remove final BB_VISITED clearing.
* tree-ssa-ccp.c (ccp_finalize): Adjust.
* tree-ssa-copy.c (fini_copy_prop): Likewise.
* ira.c (ira): Call clear_bb_flags.
From-SVN: r241296
Diffstat (limited to 'gcc/tree-ssa-ccp.c')
-rw-r--r-- | gcc/tree-ssa-ccp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-ssa-ccp.c b/gcc/tree-ssa-ccp.c index 61754d8..167598f 100644 --- a/gcc/tree-ssa-ccp.c +++ b/gcc/tree-ssa-ccp.c @@ -953,8 +953,7 @@ ccp_finalize (bool nonzero_p) } /* Perform substitutions based on the known constant values. */ - something_changed = substitute_and_fold (get_constant_value, - ccp_fold_stmt, true); + something_changed = substitute_and_fold (get_constant_value, ccp_fold_stmt); free (const_val); const_val = NULL; |