aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-patterns.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-06-30 12:03:26 +0200
committerRichard Biener <rguenther@suse.de>2023-06-30 12:59:36 +0200
commit4f8e31e01bd04ab17a53deb5aa44bd82c885b228 (patch)
treeb9bbfa488e39d5cbf198b3fa82203d9bd42f2014 /gcc/tree-vect-patterns.cc
parent50cb9df7209125f9466336d23efdd4fbeda9c4d5 (diff)
downloadgcc-4f8e31e01bd04ab17a53deb5aa44bd82c885b228.zip
gcc-4f8e31e01bd04ab17a53deb5aa44bd82c885b228.tar.gz
gcc-4f8e31e01bd04ab17a53deb5aa44bd82c885b228.tar.bz2
tree-optimization/110496 - TYPE_PRECISION issue with store-merging
When store-merging looks for bswap opportunities we also handle BIT_FIELD_REFs where we verify the refed object is of scalar type but we don't check for the result type we eventually use. That's done later but after we eventually query TYPE_PRECISION. The following re-orders this. PR tree-optimization/110496 * gimple-ssa-store-merging.cc (find_bswap_or_nop_1): Re-order verifying and TYPE_PRECISION query for the BIT_FIELD_REF case. * gcc.dg/pr110496.c: New testcase.
Diffstat (limited to 'gcc/tree-vect-patterns.cc')
0 files changed, 0 insertions, 0 deletions