]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: riscv: pr83403-*.c need common 32bit --param on rv32
authorAlexandre Oliva <oliva@adacore.com>
Sun, 1 Feb 2026 07:35:52 +0000 (04:35 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Sun, 1 Feb 2026 08:36:22 +0000 (05:36 -0300)
Like various other 32-bit CPUs, riscv32 needs to bump the
max-completely-peeled-insns param to 300 to meet the expectations.

for  gcc/testsuite/ChangeLog

* gcc.dg/tree-ssa/pr83403-1.c: Bump param on riscv32.
* gcc.dg/tree-ssa/pr83403-2.c: Likewise.

gcc/testsuite/gcc.dg/tree-ssa/pr83403-1.c
gcc/testsuite/gcc.dg/tree-ssa/pr83403-2.c

index 84646b07cab986b38a714eb5f8f33da6da06e132..f631265edd8e902271b80914fc63feae12106961 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -funroll-loops -fdump-tree-lim2-details" } */
 /* { dg-additional-options "--param max-completely-peeled-insns=200" { target { s390*-*-* } } } */
-/* { dg-additional-options "--param max-completely-peeled-insns=300" { target { arm*-*-* cris-*-* loongarch32-*-* m68k*-*-* } } } */
+/* { dg-additional-options "--param max-completely-peeled-insns=300" { target { { arm*-*-* cris-*-* loongarch32-*-* m68k*-*-* } || rv32 } } } */
 
 #define TYPE unsigned int
 
index 7c830353ea18c645ff1786812927a0e310eccf2f..f14b5b4b5fd0f40dbfd6bd4645b9bb0ec12ad0a6 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -funroll-loops -fdump-tree-lim2-details" } */
 /* { dg-additional-options "--param max-completely-peeled-insns=200" { target { s390*-*-* } } } */
-/* { dg-additional-options "--param max-completely-peeled-insns=300" { target { arm*-*-* cris-*-* loongarch32*-*-* m68k*-*-* } } } */
+/* { dg-additional-options "--param max-completely-peeled-insns=300" { target { { arm*-*-* cris-*-* loongarch32*-*-* m68k*-*-* } || rv32 } } } */
 
 #define TYPE int