[gcc(refs/users/aoliva/heads/testme)] -finline-stringops: copy timeout factor from memcmp-1.c test
Alexandre Oliva
aoliva@gcc.gnu.org
Wed Dec 20 02:49:15 GMT 2023
https://gcc.gnu.org/g:186f91ae55f8a3dfd65ce1b8eaf8d945a2c86390
commit 186f91ae55f8a3dfd65ce1b8eaf8d945a2c86390
Author: Alexandre Oliva <oliva@adacore.com>
Date: Tue Dec 19 23:10:52 2023 -0300
-finline-stringops: copy timeout factor from memcmp-1.c test
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.
Diff:
---
gcc/testsuite/gcc.dg/torture/inline-mem-cmp-1.c | 1 +
gcc/testsuite/gcc.dg/torture/inline-mem-cpy-1.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/gcc/testsuite/gcc.dg/torture/inline-mem-cmp-1.c b/gcc/testsuite/gcc.dg/torture/inline-mem-cmp-1.c
index a368f074112..4bc66597b35 100644
--- a/gcc/testsuite/gcc.dg/torture/inline-mem-cmp-1.c
+++ b/gcc/testsuite/gcc.dg/torture/inline-mem-cmp-1.c
@@ -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"
diff --git a/gcc/testsuite/gcc.dg/torture/inline-mem-cpy-1.c b/gcc/testsuite/gcc.dg/torture/inline-mem-cpy-1.c
index c98e903c1f1..f4952554dd0 100644
--- a/gcc/testsuite/gcc.dg/torture/inline-mem-cpy-1.c
+++ b/gcc/testsuite/gcc.dg/torture/inline-mem-cpy-1.c
@@ -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
More information about the Gcc-cvs
mailing list