aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-06-10 11:29:43 +0200
committerRichard Biener <rguenther@suse.de>2024-06-10 13:36:28 +0200
commit818e760528d436ea8f6c28ef620e2bb82d456ea1 (patch)
tree671a601314d895afe49c8a9454e590b28b727489 /gcc/tree-pass.h
parente29af8de31ba4b73dcee82917c8cec60d53dfa82 (diff)
downloadgcc-818e760528d436ea8f6c28ef620e2bb82d456ea1.zip
gcc-818e760528d436ea8f6c28ef620e2bb82d456ea1.tar.gz
gcc-818e760528d436ea8f6c28ef620e2bb82d456ea1.tar.bz2
tree-optimization/115388 - wrong DSE in irreductible regions
The following fixes a latent bug in DSE with regarding to variant array accesses where the code avoiding bogus DSE in loops fails to handle irreducible regions. For those we need to make sure backedges are marked and discover a header for the irreducible region to check invariantness. PR tree-optimization/115388 * tree-ssa-dse.cc (dse_classify_store): Handle irreducible regions. (pass_dse::execute): Make sure to mark backedges. * gcc.dg/torture/pr115388.c: New testcase.
Diffstat (limited to 'gcc/tree-pass.h')
0 files changed, 0 insertions, 0 deletions