aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-07-03 08:28:17 +0200
committerRichard Biener <rguenther@suse.de>2023-07-03 10:02:25 +0200
commitbd7e9856fe5bbeb487797476c4fffb660f63cf4f (patch)
treee6a722b0f7820e0cf70ceafe505a43aca3afce55 /gcc/tree.h
parent8cb087d869be698a86b082a7248d03e468ef1eb1 (diff)
downloadgcc-bd7e9856fe5bbeb487797476c4fffb660f63cf4f.zip
gcc-bd7e9856fe5bbeb487797476c4fffb660f63cf4f.tar.gz
gcc-bd7e9856fe5bbeb487797476c4fffb660f63cf4f.tar.bz2
tree-optimization/110506 - bogus non-zero mask in CCP for vector types
get_value_for_expr was blindlessly using TYPE_PRECISION to produce a mask for vector typed entities which the new tree checking now catches. PR tree-optimization/110506 * tree-ssa-ccp.cc (get_value_for_expr): Check for integral type before relying on TYPE_PRECISION to produce a nonzero mask. * gcc.dg/pr110506.c: New testcase.
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions