[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:29:10 GMT 2023


https://gcc.gnu.org/g:cf741ac67aebd8196d8edfb59c68c2a41195576c

commit cf741ac67aebd8196d8edfb59c68c2a41195576c
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