aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/frv/constraints.md
diff options
context:
space:
mode:
authorAndrew Pinski <quic_apinski@quicinc.com>2024-10-27 13:16:22 -0700
committerAndrew Pinski <quic_apinski@quicinc.com>2024-10-28 01:17:02 -0700
commitad0084337e901ddaedd48c14e7a5dad9fc2a093e (patch)
tree7d4495a11d595486b0e21ed1e111208b71a2cc41 /gcc/config/frv/constraints.md
parent3f2739e4664fbb1026ff1ef9db2e8262d5f58cc2 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
vec-lowering: Fix ABSU lowering [PR111285]HEADtrunkmaster
ABSU_EXPR lowering incorrectly used the resulting type for the new expression but in the case of ABSU the resulting type is an unsigned type and with ABSU is folded away. The fix is to use a signed type for the expression instead. Bootstrapped and tested on x86_64-linux-gnu. PR middle-end/111285 gcc/ChangeLog: * tree-vect-generic.cc (do_unop): Use a signed type for the operand if the operation was ABSU_EXPR. gcc/testsuite/ChangeLog: * g++.dg/torture/vect-absu-1.C: New test. Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'gcc/config/frv/constraints.md')
0 files changed, 0 insertions, 0 deletions