aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-12-11 13:00:18 +0100
committerRichard Biener <rguenther@suse.de>2023-12-12 08:14:47 +0100
commitf5f33b44b5dd4c41ae335445ae3f06b1ca3cfbcb (patch)
tree6a56de2ae1ff726e474ba8c8cbe6f3ed7354ff16 /gcc/fortran
parentfc62716fe8d1d60a9f1c6906e5a4845b3331b828 (diff)
downloadgcc-f5f33b44b5dd4c41ae335445ae3f06b1ca3cfbcb.zip
gcc-f5f33b44b5dd4c41ae335445ae3f06b1ca3cfbcb.tar.gz
gcc-f5f33b44b5dd4c41ae335445ae3f06b1ca3cfbcb.tar.bz2
tree-optimization/112939 - VN PHI visiting and -ftrivial-auto-var-init
The following builds upon the last fix, making sure we only value-number to visited (un-)defs, otherwise prefer .VN_TOP. PR tree-optimization/112939 * tree-ssa-sccvn.cc (visit_phi): When all args are undefined make sure we end up with a value that was visited, otherwise fall back to .VN_TOP. * gcc.dg/pr112939.c: New testcase.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions