]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[RISC-V][PR target/119971] Avoid losing shift count masking
authorJeff Law <jlaw@ventanamicro.com>
Fri, 27 Jun 2025 13:00:15 +0000 (07:00 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Fri, 27 Jun 2025 13:00:15 +0000 (07:00 -0600)
Fix typo spotted by Bernhard Reutner-Fischer.

PR target/119971

gcc/testsuite/
* gcc.target/riscv/pr119971.c: Fix typo.

gcc/testsuite/gcc.target/riscv/pr119971.c

index c3f23b05ec37438bf3d7d930dce5ca9779e89437..0d73d4ca3f1335652e41e77d3dc7e8dc623e0ff9 100644 (file)
@@ -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)