aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-09-25 11:13:13 +0200
committerRichard Biener <rguenther@suse.de>2020-09-25 14:51:26 +0200
commitd16b5975ca985cbe97698479fc38b6a636886978 (patch)
tree741667dbea2762008ae58b2061e5e2bb38638aaf /libcpp
parent7bfc4cd2c812a3197c09797796828459714f8849 (diff)
downloadgcc-d16b5975ca985cbe97698479fc38b6a636886978.zip
gcc-d16b5975ca985cbe97698479fc38b6a636886978.tar.gz
gcc-d16b5975ca985cbe97698479fc38b6a636886978.tar.bz2
middle-end/96814 - fix VECTOR_BOOLEAN_TYPE_P CTOR RTL expansion
The RTL expansion code for CTORs doesn't handle VECTOR_BOOLEAN_TYPE_P with bit-precision elements correctly as the testcase shows before the PR97085 fix. The following makes it do the correct thing (not 100% sure for CTOR of sub-vectors due to the lack of a testcase). The alternative would be to assert such CTORs do not happen (and also add IL verification for this). The GIMPLE FE needs a way to declare the VECTOR_BOOLEAN_TYPE_P vectors (thus the C FE needs that). 2020-09-25 Richard Biener <rguenther@suse.de> PR middle-end/96814 * expr.c (store_constructor): Handle VECTOR_BOOLEAN_TYPE_P CTORs correctly. * gcc.target/i386/pr96814.c: New testcase.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions