aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-12-17 11:23:02 +0100
committerRichard Biener <rguenth@gcc.gnu.org>2024-12-17 19:08:10 +0100
commitcfe1ad3c488693a10fafb39d68c8cabc6e48daa7 (patch)
tree6e533f69b185633e4c64fc291a56551b189b139e /gcc/tree-inline.h
parent40e5636e086e51f5908a1a01be9cba2218dc26d8 (diff)
downloadgcc-cfe1ad3c488693a10fafb39d68c8cabc6e48daa7.zip
gcc-cfe1ad3c488693a10fafb39d68c8cabc6e48daa7.tar.gz
gcc-cfe1ad3c488693a10fafb39d68c8cabc6e48daa7.tar.bz2
middle-end/118062 - bogus lowering of vector compares
The generic expand_vector_piecewise routine supports lowering of a vector operation to vector operations of smaller size. When computing the extract position from the larger vector it uses the element size in bits of the original result vector to determine the number of elements in the smaller vector. That is wrong when lowering a compare as the vector element size of a bool vector does not have to agree with that of the compare operand. The following simplifies this, fixing the error. PR middle-end/118062 * tree-vect-generic.cc (expand_vector_piecewise): Properly compute delta.
Diffstat (limited to 'gcc/tree-inline.h')
0 files changed, 0 insertions, 0 deletions