On 5/5/25 11:56 PM, Bernhard Reutner-Fischer wrote:
On 5 May 2025 20:42:34 CEST, Jeff Law <jeffreya...@gmail.com> wrote:


diff --git a/gcc/testsuite/gcc.target/riscv/pr119971.c 
b/gcc/testsuite/gcc.target/riscv/pr119971.c
new file mode 100644
index 00000000000..c3f23b05ec3
--- /dev/null
+++ b/gcc/testsuite/gcc.target/riscv/pr119971.c
@@ -0,0 +1,24 @@
+/* { dg-do compile { target rv64 } } */
+/* { dg-options "-march=rv64gcb -mabi=lp64" } */
+/* { dg-skip-if "" { *-*-* } { "-O0" "-g" "-Oz" "-Os" } } */
+


typo s/"-g"/"-Og"/ maybe?
Yes.  Fixed in the obvious way.

Jeff
commit de6124c9e5ed472f567b51fa76f18335cdddbbaf
Author: Jeff Law <j...@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.

diff --git a/gcc/testsuite/gcc.target/riscv/pr119971.c 
b/gcc/testsuite/gcc.target/riscv/pr119971.c
index c3f23b05ec3..0d73d4ca3f1 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)

Reply via email to