aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-01-31 10:42:48 +0100
committerRichard Biener <rguenther@suse.de>2024-01-31 13:43:21 +0100
commitcfb3f666562fb4ab896a05c234a697afb63627a4 (patch)
tree231a594e66e4f28cc1b20b724e9c83bf0a99f989 /gcc/c
parentccd8da149f5b77ecbf8586b17c6ba79edf2bc745 (diff)
downloadgcc-cfb3f666562fb4ab896a05c234a697afb63627a4.zip
gcc-cfb3f666562fb4ab896a05c234a697afb63627a4.tar.gz
gcc-cfb3f666562fb4ab896a05c234a697afb63627a4.tar.bz2
tree-optimization/111444 - avoid insertions when skipping defs
The following avoids inserting expressions for IPA CP discovered equivalences into the VN hashtables when we are optimistically skipping may-defs in the attempt to prove it's redundant. PR tree-optimization/111444 * tree-ssa-sccvn.cc (vn_reference_lookup_3): Do not use vn_reference_lookup_2 when optimistically skipping may-defs. * gcc.dg/torture/pr111444.c: New testcase.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions