diff options
author | Richard Biener <rguenther@suse.de> | 2021-03-09 09:29:29 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-04-26 10:10:06 +0200 |
commit | 577d05fc914338cd7ddc254f3bee4532331f5c13 (patch) | |
tree | 7071eb36cedbf04600f64367a1a73c9485f03ce7 /gcc/tree-complex.c | |
parent | 52a5515ed6619739eb122f05ce26057dd8b06fb6 (diff) | |
download | gcc-577d05fc914338cd7ddc254f3bee4532331f5c13.zip gcc-577d05fc914338cd7ddc254f3bee4532331f5c13.tar.gz gcc-577d05fc914338cd7ddc254f3bee4532331f5c13.tar.bz2 |
tree-optimization/99473 - more cselim
This fixes the pre-condition on cselim to include all references
and decls when they end up as auto-var.
Bootstrapped/tested on x86_64-linux
2021-03-09 Richard Biener <rguenther@suse.de>
PR tree-optimization/99473
* tree-ssa-phiopt.c (cond_store_replacement): Handle all
stores.
* gcc.dg/tree-ssa/pr99473-1.c: New testcase.
Diffstat (limited to 'gcc/tree-complex.c')
0 files changed, 0 insertions, 0 deletions