diff options
author | Richard Biener <rguenther@suse.de> | 2023-06-29 09:15:27 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-06-29 10:10:51 +0200 |
commit | 1e6f1659bd7337e91a88086f8092ada01e80ac94 (patch) | |
tree | 6f274b59ce45cb74a7a3ccefd6f15c3fade6e7d8 /gcc/expr.cc | |
parent | d81c7a25365d3cc87e5edad5e68049b149af55b4 (diff) | |
download | gcc-1e6f1659bd7337e91a88086f8092ada01e80ac94.zip gcc-1e6f1659bd7337e91a88086f8092ada01e80ac94.tar.gz gcc-1e6f1659bd7337e91a88086f8092ada01e80ac94.tar.bz2 |
middle-end/110461 - pattern applying wrongly to vectors
The following guards a match.pd pattern that wasn't supposed to
apply to vectors and thus runs into TYPE_PRECISION checking. For
vector support the constant case is lacking and the pattern would
have missing optab support checking for the result operation.
PR middle-end/110461
* match.pd (bitop (convert@2 @0) (convert?@3 @1)): Disable
for VECTOR_TYPE_P.
* gcc.dg/pr110461.c: New testcase.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions