]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
-finline-stringops: copy timeout factor from memcmp-1.c test
authorAlexandre Oliva <oliva@adacore.com>
Wed, 20 Dec 2023 04:05:45 +0000 (01:05 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 20 Dec 2023 04:05:45 +0000 (01:05 -0300)
I added some -finline-stringops tests that included memcmp-1.c, but
carried over the timeout factor onto only one such test.  Jeff Law
kindly pointed that out (thanks!), so here's the fix.

for  gcc/testsuite/ChangeLog

* gcc.dg/torture/inline-mem-cmp-1.c: Copy timeout factor from
mem-cmp-1.c.
* gcc.dg/torture/inline-mem-cpy-1.c: Likewise.

gcc/testsuite/gcc.dg/torture/inline-mem-cmp-1.c
gcc/testsuite/gcc.dg/torture/inline-mem-cpy-1.c

index a368f0741129d5188a3252e27b1dfa79f3994e90..4bc66597b35a602e06c36718172ae140f2bec328 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-finline-stringops=memcmp -save-temps -g0 -fno-lto" } */
+/* { dg-timeout-factor 2 } */
 
 #include "../memcmp-1.c"
 
index c98e903c1f169b69d5249cb64b8ea4b047aad933..f4952554dd0119a38a0d235196060bcf9e351987 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-finline-stringops=memcpy -save-temps -g0 -fno-lto" } */
+/* { dg-timeout-factor 2 } */
 
 #include "../memcmp-1.c"
 /* Yeah, this memcmp test exercises plenty of memcpy, more than any of the