diff options
author | Vineet Gupta <vineetg@rivosinc.com> | 2023-10-17 10:05:41 -0700 |
---|---|---|
committer | Vineet Gupta <vineetg@rivosinc.com> | 2023-10-17 13:12:58 -0700 |
commit | 9cad42786ca28461633d524bbb6480f388bfdc55 (patch) | |
tree | 40fb0106c7c03a3969204066de5be011c9aeb960 /gcc/cp/constexpr.cc | |
parent | 1f186f64b8602d74769af4a6250255e51227f744 (diff) | |
download | gcc-9cad42786ca28461633d524bbb6480f388bfdc55.zip gcc-9cad42786ca28461633d524bbb6480f388bfdc55.tar.gz gcc-9cad42786ca28461633d524bbb6480f388bfdc55.tar.bz2 |
RISC-V/testsuite/pr111466.c: update test and expected output
Update the test to potentially generate two SEXT.W instructions: one for
incoming function arg, other for function return.
But after commit 8eb9cdd14218
("expr: don't clear SUBREG_PROMOTED_VAR_P flag for a promoted subreg")
the test is not supposed to generate either of them so fix the expected
assembler output which was errorneously introduced by commit above.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/pr111466.c (foo2): Change return to unsigned
int as that will potentially generate two SEXT.W instructions.
dg-final: Change to scan-assembler-not SEXT.W.
Signed-off-by: Vineet Gupta <vineetg@rivosinc.com>
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions