aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-01-10 14:54:10 +0100
committerRichard Biener <rguenther@suse.de>2024-01-11 09:09:46 +0100
commite1f2d58a1e2536f13d3f2ea2d7373ae62cec9125 (patch)
tree7ee4abd90951906b38825b0bc5f95e2c913a3bcc /gcc/c
parent1a51886a79c97e53ba945c1926ab215ed6a9f5ed (diff)
downloadgcc-e1f2d58a1e2536f13d3f2ea2d7373ae62cec9125.zip
gcc-e1f2d58a1e2536f13d3f2ea2d7373ae62cec9125.tar.gz
gcc-e1f2d58a1e2536f13d3f2ea2d7373ae62cec9125.tar.bz2
middle-end/112740 - vector boolean CTOR expansion issue
The optimization to expand uniform boolean vectors by sign-extension works only for dense masks but it failed to check that. PR middle-end/112740 * expr.cc (store_constructor): Check the integer vector mask has a single bit per element before using sign-extension to expand an uniform vector. * gcc.dg/pr112740.c: New testcase.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions