aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-11-09 09:41:10 +0100
committerRichard Biener <rguenther@suse.de>2023-11-09 11:48:32 +0100
commit8ebcea91e24964ec52ca2caf9f8585f3a785f7d5 (patch)
treed9ab4a5e57fcda68b7116ac9466be0e821124caa /gcc/tree-vect-loop.cc
parenta0273d257ccf4d01997368d85f008094ab84db73 (diff)
downloadgcc-8ebcea91e24964ec52ca2caf9f8585f3a785f7d5.zip
gcc-8ebcea91e24964ec52ca2caf9f8585f3a785f7d5.tar.gz
gcc-8ebcea91e24964ec52ca2caf9f8585f3a785f7d5.tar.bz2
tree-optimization/112444 - avoid bougs PHI value-numbering
With .DEFERRED_INIT ssa_undefined_value_p () can return true for values we did not visit (because they proved unreachable) but are not .VN_TOP. Avoid using those as value which, because they are not visited, are assumed to be defined outside of the region. PR tree-optimization/112444 * tree-ssa-sccvn.cc (visit_phi): Avoid using not visited defs as undefined vals. * gcc.dg/torture/pr112444.c: New testcase.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions