aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-02-25 10:31:16 +0100
committerRichard Biener <rguenther@suse.de>2020-02-25 10:33:29 +0100
commit81c833b311b16cfd87a947374d5ffbbd48facd03 (patch)
tree31b6c240eeb1696e9c9baaa385713cf810f95779 /gcc/dwarf2out.c
parent2473c81cb2d4627f2d72310f4eca951c6084b596 (diff)
downloadgcc-81c833b311b16cfd87a947374d5ffbbd48facd03.zip
gcc-81c833b311b16cfd87a947374d5ffbbd48facd03.tar.gz
gcc-81c833b311b16cfd87a947374d5ffbbd48facd03.tar.bz2
tree-optimization/93868 copy SLP tree before re-arranging stmts
This avoids altering possibly shared SLP subtrees when attempting to get rid of permutations in SLP reductions by copying the SLP subtree before re-arranging stmts in it. 2020-02-25 Richard Biener <rguenther@suse.de> PR tree-optimization/93868 * tree-vect-slp.c (slp_copy_subtree): New function. (vect_attempt_slp_rearrange_stmts): Copy the SLP tree before re-arranging stmts in it. * gcc.dg/torture/pr93868.c: New testcase.
Diffstat (limited to 'gcc/dwarf2out.c')
0 files changed, 0 insertions, 0 deletions