aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-04-01 11:51:33 +0200
committerRichard Biener <rguenther@suse.de>2021-04-01 12:46:48 +0200
commit512429a885e87bef51057a001681b7d8d106e807 (patch)
treead579aca5221f75c56ff39e1cb6f4d3eafd68349 /gcc/cp/class.c
parent3064fc21aa29d8e04b23c0b52dc4f67de1da6b2f (diff)
downloadgcc-512429a885e87bef51057a001681b7d8d106e807.zip
gcc-512429a885e87bef51057a001681b7d8d106e807.tar.gz
gcc-512429a885e87bef51057a001681b7d8d106e807.tar.bz2
tree-optimization/99863 - clear vector CTOR TREE_SIDE_EFFECTS
When we gimplify a vector CTOR the original CONSTRUCTOR tree remains but we fail to recompute flags such as TREE_SIDE_EFFECTS. This causes later GENERIC folding of them in vector lowering to give up since the match.pd machinery is careful about TREE_SIDE_EFFECTS. Fixing this makes vector lowering produce much less garbage and thus following the IL for PR99793 easier. 2021-04-01 Richard Biener <rguenther@suse.de> PR tree-optimization/99863 * gimplify.c (gimplify_init_constructor): Recompute vector constructor flags.
Diffstat (limited to 'gcc/cp/class.c')
0 files changed, 0 insertions, 0 deletions