From b0d217ba1084fa42c4ac4964150cd3b795ebd754 Mon Sep 17 00:00:00 2001
From: Laurent GUERBY <laurent@guerby.net>
Date: Mon, 5 Jan 2009 19:49:43 +0000
Subject: [PATCH] 20001226-1.c: Generalize dg-timeout-factor.

2009-01-05  Laurent GUERBY  <laurent@guerby.net>

	* gcc.c-torture/compile/20001226-1.c: Generalize
	dg-timeout-factor.
	* gcc.c-torture/compile/limits-fnargs.c: Add
	dg-timeout-factor.
	* gcc.dg/20020425-1.c: Likewise.
	* gcc.dg/pch/pch.exp: Likewise.

From-SVN: r143092
---
 gcc/testsuite/ChangeLog                             | 9 +++++++++
 gcc/testsuite/gcc.c-torture/compile/20001226-1.c    | 4 +---
 gcc/testsuite/gcc.c-torture/compile/limits-fnargs.c | 2 ++
 gcc/testsuite/gcc.dg/20020425-1.c                   | 1 +
 gcc/testsuite/gcc.dg/pch/pch.exp                    | 1 +
 5 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b37d770a0c80..c41cf5be5330 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,12 @@
+2009-01-05  Laurent GUERBY  <laurent@guerby.net>
+
+	* gcc.c-torture/compile/20001226-1.c: Generalize 
+	dg-timeout-factor.
+	* gcc.c-torture/compile/limits-fnargs.c: Add
+	dg-timeout-factor.
+	* gcc.dg/20020425-1.c: Likewise.
+	* gcc.dg/pch/pch.exp: Likewise.
+	
 2009-01-05  Paul Thomas  <pault@gcc.gnu.org>
 
 	PR fortran/38657
diff --git a/gcc/testsuite/gcc.c-torture/compile/20001226-1.c b/gcc/testsuite/gcc.c-torture/compile/20001226-1.c
index 1a1af7b58230..7cf963f0ac78 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20001226-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20001226-1.c
@@ -6,9 +6,7 @@
 /* { dg-xfail-if "jump beyond 128K not supported" { xtensa*-*-* } { "-O0" } { "" } } */
 /* { dg-xfail-if "PR36698" { spu-*-* } { "-O0" } { "" } } */
 /* { dg-skip-if "" { m32c-*-* } { "*" } { "" } } */
-/* If list of targets on dg-timeout-factor grows to 3, make it unconditional
-   for all targets.  */
-/* { dg-timeout-factor 2.0 { target hppa*-*-* } } */
+/* { dg-timeout-factor 4.0 } */
 
 /* This testcase exposed two branch shortening bugs on powerpc.  */
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/limits-fnargs.c b/gcc/testsuite/gcc.c-torture/compile/limits-fnargs.c
index b94fa43db12a..6640d1a7472d 100644
--- a/gcc/testsuite/gcc.c-torture/compile/limits-fnargs.c
+++ b/gcc/testsuite/gcc.c-torture/compile/limits-fnargs.c
@@ -1,3 +1,5 @@
+/* { dg-timeout-factor 4.0 } */
+
 #define PAR1 int, int, int, int, int, int, int, int, int, int
 #define PAR2 PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1
 #define PAR3 PAR2, PAR2, PAR2, PAR2, PAR2, PAR2, PAR2, PAR2, PAR2, PAR2
diff --git a/gcc/testsuite/gcc.dg/20020425-1.c b/gcc/testsuite/gcc.dg/20020425-1.c
index ac26e60069a6..7783c8870c11 100644
--- a/gcc/testsuite/gcc.dg/20020425-1.c
+++ b/gcc/testsuite/gcc.dg/20020425-1.c
@@ -1,5 +1,6 @@
 /* PR c/2161: parser stack overflow.  */
 /* { dg-do compile } */
+/* { dg-timeout-factor 4.0 } */
 
 #define ONE	else if (0) { }
 #define TEN	ONE ONE ONE ONE ONE ONE ONE ONE ONE ONE
diff --git a/gcc/testsuite/gcc.dg/pch/pch.exp b/gcc/testsuite/gcc.dg/pch/pch.exp
index e2ec69fd7bde..c76c37af8df6 100644
--- a/gcc/testsuite/gcc.dg/pch/pch.exp
+++ b/gcc/testsuite/gcc.dg/pch/pch.exp
@@ -44,6 +44,7 @@ set test "largefile.c"
 set testh "largefile.hs"
 set f [open $test w]
 puts $f "/* { dg-xfail-if \"PR 14940\" { \"i?86-*-solaris2.10\" } { \"*\" } { \"\" } } */"
+puts $f "/* { dg-timeout-factor 4.0 } */"
 set v 0
 for { set v 0 } { $v < 10000 } { incr v } {
     puts $f "#define MACRO_${v} \"1234567890\" \"$v\""
-- 
GitLab