[gcc(refs/vendors/riscv/heads/gcc-15-with-riscv-opts)] [RISC-V][PR target/119971] Avoid losing shift count masking
Jeff Law
law@gcc.gnu.org
Sat Sep 6 14:49:29 GMT 2025
https://gcc.gnu.org/g:10b5a47c01970ca55a8724c0b0cffc29976b5a4e
commit 10b5a47c01970ca55a8724c0b0cffc29976b5a4e
Author: Jeff Law <jlaw@ventanamicro.com>
Date: Fri Jun 27 07:00:15 2025 -0600
[RISC-V][PR target/119971] Avoid losing shift count masking
Fix typo spotted by Bernhard Reutner-Fischer.
PR target/119971
gcc/testsuite/
* gcc.target/riscv/pr119971.c: Fix typo.
(cherry picked from commit de6124c9e5ed472f567b51fa76f18335cdddbbaf)
Diff:
---
gcc/testsuite/gcc.target/riscv/pr119971.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/riscv/pr119971.c b/gcc/testsuite/gcc.target/riscv/pr119971.c
index c3f23b05ec37..0d73d4ca3f13 100644
--- a/gcc/testsuite/gcc.target/riscv/pr119971.c
+++ b/gcc/testsuite/gcc.target/riscv/pr119971.c
@@ -1,6 +1,6 @@
/* { dg-do compile { target rv64 } } */
/* { dg-options "-march=rv64gcb -mabi=lp64" } */
-/* { dg-skip-if "" { *-*-* } { "-O0" "-g" "-Oz" "-Os" } } */
+/* { dg-skip-if "" { *-*-* } { "-O0" "-Og" "-Oz" "-Os" } } */
__attribute__ ((noipa)) unsigned
foo (unsigned b, unsigned e, unsigned i)
More information about the Gcc-cvs
mailing list