diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2023-05-24 09:33:04 +0100 |
---|---|---|
committer | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2023-05-24 09:33:04 +0100 |
commit | 95542a6ec4b350c653b793b7c36a8210b0e9a89d (patch) | |
tree | 673eb4029bfaa24e2a6f020d2179cdeae143a93b /gcc/value-range.h | |
parent | ec40410d98e57fc6650241d4e05119a1f0af6a41 (diff) | |
download | gcc-95542a6ec4b350c653b793b7c36a8210b0e9a89d.zip gcc-95542a6ec4b350c653b793b7c36a8210b0e9a89d.tar.gz gcc-95542a6ec4b350c653b793b7c36a8210b0e9a89d.tar.bz2 |
arm: PR target/109939 Correct signedness of return type of __ssat intrinsics
As the PR says we shouldn't be using qualifier_unsigned for the return type of the __ssat intrinsics.
UNSIGNED_SAT_BINOP_UNSIGNED_IMM_QUALIFIERS already exists for that.
This was just a thinko.
This patch fixes this and the warning with -Wconversion goes away.
Bootstrapped and tested on arm-none-linux-gnueabihf.
gcc/ChangeLog:
PR target/109939
* config/arm/arm-builtins.cc (SAT_BINOP_UNSIGNED_IMM_QUALIFIERS): Use
qualifier_none for the return operand.
gcc/testsuite/ChangeLog:
PR target/109939
* gcc.target/arm/pr109939.c: New test.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions