C99 testsuite readiness: Compile more tests with -std=gnu89

Message ID 87o7gtw1uo.fsf@oldenburg.str.redhat.com
State Accepted
Headers
Series C99 testsuite readiness: Compile more tests with -std=gnu89 |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Florian Weimer Oct. 20, 2023, 7:06 p.m. UTC
  gcc/testsuite/

	* gcc.c-torture/compile/20000403-1.c: Compile with -std=gnu89.
	* gcc.c-torture/compile/20000511-1.c: Likewise.
	* gcc.c-torture/compile/20000804-1.c: Likewise.
	* gcc.c-torture/compile/20020418-1.c: Likewise.
	* gcc.c-torture/compile/20020927-1.c: Likewise.
	* gcc.c-torture/compile/20030109-1.c: Likewise.
	* gcc.c-torture/compile/20030224-1.c: Likewise.
	* gcc.c-torture/compile/20030415-1.c: Likewise.
	* gcc.c-torture/compile/20030612-1.c: Likewise.
	* gcc.c-torture/compile/20030917-1.c: Likewise.
	* gcc.c-torture/compile/20031113-1.c: Likewise.
	* gcc.c-torture/compile/20031220-2.c: Likewise.
	* gcc.c-torture/compile/20040309-1.c: Likewise.
	* gcc.c-torture/compile/20040310-1.c: Likewise.
	* gcc.c-torture/compile/20040317-3.c: Likewise.
	* gcc.c-torture/compile/20040817-1.c: Likewise.
	* gcc.c-torture/compile/20091215-1.c: Likewise.
	* gcc.c-torture/compile/86.c: Likewise.
	* gcc.c-torture/compile/900216-1.c: Likewise.
	* gcc.c-torture/compile/900313-1.c: Likewise.
	* gcc.c-torture/compile/900407-1.c: Likewise.
	* gcc.c-torture/compile/900516-1.c: Likewise.
	* gcc.c-torture/compile/920409-2.c: Likewise.
	* gcc.c-torture/compile/920415-1.c: Likewise.
	* gcc.c-torture/compile/920428-1.c: Likewise.
	* gcc.c-torture/compile/920428-5.c: Likewise.
	* gcc.c-torture/compile/920428-7.c: Likewise.
	* gcc.c-torture/compile/920501-1.c: Likewise.
	* gcc.c-torture/compile/920501-13.c: Likewise.
	* gcc.c-torture/compile/920501-15.c: Likewise.
	* gcc.c-torture/compile/920501-16.c: Likewise.
	* gcc.c-torture/compile/920501-18.c: Likewise.
	* gcc.c-torture/compile/920501-20.c: Likewise.
	* gcc.c-torture/compile/920501-6.c: Likewise.
	* gcc.c-torture/compile/920501-7.c: Likewise.
	* gcc.c-torture/compile/920502-1.c: Likewise.
	* gcc.c-torture/compile/920502-2.c: Likewise.
	* gcc.c-torture/compile/920520-1.c: Likewise.
	* gcc.c-torture/compile/920521-1.c: Likewise.
	* gcc.c-torture/compile/920608-1.c: Likewise.
	* gcc.c-torture/compile/920617-1.c: Likewise.
	* gcc.c-torture/compile/920617-2.c: Likewise.
	* gcc.c-torture/compile/920625-1.c: Likewise.
	* gcc.c-torture/compile/920625-2.c: Likewise.
	* gcc.c-torture/compile/920626-1.c: Likewise.
	* gcc.c-torture/compile/920706-1.c: Likewise.
	* gcc.c-torture/compile/920710-2.c: Likewise.
	* gcc.c-torture/compile/920723-1.c: Likewise.
	* gcc.c-torture/compile/920808-1.c: Likewise.
	* gcc.c-torture/compile/920809-1.c: Likewise.
	* gcc.c-torture/compile/920817-1.c: Likewise.
	* gcc.c-torture/compile/920831-1.c: Likewise.
	* gcc.c-torture/compile/920917-1.c: Likewise.
	* gcc.c-torture/compile/920928-2.c: Likewise.
	* gcc.c-torture/compile/920928-5.c: Likewise.
	* gcc.c-torture/compile/921012-1.c: Likewise.
	* gcc.c-torture/compile/921021-1.c: Likewise.
	* gcc.c-torture/compile/921024-1.c: Likewise.
	* gcc.c-torture/compile/921103-1.c: Likewise.
	* gcc.c-torture/compile/921109-1.c: Likewise.
	* gcc.c-torture/compile/921111-1.c: Likewise.
	* gcc.c-torture/compile/921116-2.c: Likewise.
	* gcc.c-torture/compile/921118-1.c: Likewise.
	* gcc.c-torture/compile/921202-1.c: Likewise.
	* gcc.c-torture/compile/921202-2.c: Likewise.
	* gcc.c-torture/compile/921203-1.c: Likewise.
	* gcc.c-torture/compile/921203-2.c: Likewise.
	* gcc.c-torture/compile/921206-1.c: Likewise.
	* gcc.c-torture/compile/930109-1.c: Likewise.
	* gcc.c-torture/compile/930111-1.c: Likewise.
	* gcc.c-torture/compile/930117-1.c: Likewise.
	* gcc.c-torture/compile/930118-1.c: Likewise.
	* gcc.c-torture/compile/930120-1.c: Likewise.
	* gcc.c-torture/compile/930217-1.c: Likewise.
	* gcc.c-torture/compile/930325-1.c: Likewise.
	* gcc.c-torture/compile/930411-1.c: Likewise.
	* gcc.c-torture/compile/930427-2.c: Likewise.
	* gcc.c-torture/compile/930503-2.c: Likewise.
	* gcc.c-torture/compile/930506-2.c: Likewise.
	* gcc.c-torture/compile/930513-2.c: Likewise.
	* gcc.c-torture/compile/930530-1.c: Likewise.
	* gcc.c-torture/compile/930602-1.c: Likewise.
	* gcc.c-torture/compile/930618-1.c: Likewise.
	* gcc.c-torture/compile/930623-1.c: Likewise.
	* gcc.c-torture/compile/931003-1.c: Likewise.
	* gcc.c-torture/compile/931013-1.c: Likewise.
	* gcc.c-torture/compile/931013-2.c: Likewise.
	* gcc.c-torture/compile/931102-2.c: Likewise.
	* gcc.c-torture/compile/931203-1.c: Likewise.
	* gcc.c-torture/compile/940718-1.c: Likewise.
	* gcc.c-torture/compile/941014-1.c: Likewise.
	* gcc.c-torture/compile/941014-2.c: Likewise.
	* gcc.c-torture/compile/941014-3.c: Likewise.
	* gcc.c-torture/compile/941014-4.c: Likewise.
	* gcc.c-torture/compile/941111-1.c: Likewise.
	* gcc.c-torture/compile/941113-1.c: Likewise.
	* gcc.c-torture/compile/950124-1.c: Likewise.
	* gcc.c-torture/compile/950329-1.c: Likewise.
	* gcc.c-torture/compile/950612-1.c: Likewise.
	* gcc.c-torture/compile/950618-1.c: Likewise.
	* gcc.c-torture/compile/950719-1.c: Likewise.
	* gcc.c-torture/compile/950910-1.c: Likewise.
	* gcc.c-torture/compile/950922-1.c: Likewise.
	* gcc.c-torture/compile/951106-1.c: Likewise.
	* gcc.c-torture/compile/951222-1.c: Likewise.
	* gcc.c-torture/compile/960106-1.c: Likewise.
	* gcc.c-torture/compile/960319-1.c: Likewise.
	* gcc.c-torture/compile/960829-1.c: Likewise.
	* gcc.c-torture/compile/970206-1.c: Likewise.
	* gcc.c-torture/compile/980825-1.c: Likewise.
	* gcc.c-torture/compile/990829-1.c: Likewise.
	* gcc.c-torture/compile/991213-2.c: Likewise.

---
 gcc/testsuite/gcc.c-torture/compile/20000403-1.c | 1 +
 gcc/testsuite/gcc.c-torture/compile/20000511-1.c | 2 ++
 gcc/testsuite/gcc.c-torture/compile/20000804-1.c | 1 +
 gcc/testsuite/gcc.c-torture/compile/20020418-1.c | 1 +
 gcc/testsuite/gcc.c-torture/compile/20020927-1.c | 1 +
 gcc/testsuite/gcc.c-torture/compile/20030109-1.c | 2 ++
 gcc/testsuite/gcc.c-torture/compile/20030224-1.c | 2 ++
 gcc/testsuite/gcc.c-torture/compile/20030415-1.c | 2 ++
 gcc/testsuite/gcc.c-torture/compile/20030612-1.c | 2 ++
 gcc/testsuite/gcc.c-torture/compile/20030917-1.c | 2 ++
 gcc/testsuite/gcc.c-torture/compile/20031113-1.c | 2 ++
 gcc/testsuite/gcc.c-torture/compile/20031220-2.c | 1 +
 gcc/testsuite/gcc.c-torture/compile/20040309-1.c | 2 ++
 gcc/testsuite/gcc.c-torture/compile/20040310-1.c | 2 ++
 gcc/testsuite/gcc.c-torture/compile/20040317-3.c | 2 ++
 gcc/testsuite/gcc.c-torture/compile/20040817-1.c | 1 +
 gcc/testsuite/gcc.c-torture/compile/20091215-1.c | 1 +
 gcc/testsuite/gcc.c-torture/compile/86.c         | 2 ++
 gcc/testsuite/gcc.c-torture/compile/900216-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/900313-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/900407-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/900516-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920409-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920415-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/920428-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920428-5.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920428-7.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920501-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/920501-13.c  | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920501-15.c  | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920501-16.c  | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920501-18.c  | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920501-20.c  | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920501-6.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920501-7.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/920502-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/920502-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920520-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/920521-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/920608-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920617-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920617-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920625-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/920625-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920626-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920706-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920710-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920723-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/920808-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920809-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920817-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920831-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/920917-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/920928-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/920928-5.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/921012-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/921021-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/921024-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/921103-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/921109-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/921111-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/921116-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/921118-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/921202-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/921202-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/921203-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/921203-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/921206-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/930109-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/930111-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/930117-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/930118-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/930120-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/930217-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/930325-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/930411-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/930427-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/930503-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/930506-2.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/930513-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/930530-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/930602-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/930618-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/930623-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/931003-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/931013-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/931013-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/931102-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/931203-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/940718-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/941014-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/941014-2.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/941014-3.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/941014-4.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/941111-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/941113-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/950124-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/950329-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/950612-1.c   | 3 +++
 gcc/testsuite/gcc.c-torture/compile/950618-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/950719-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/950910-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/950922-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/951106-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/951222-1.c   | 1 +
 gcc/testsuite/gcc.c-torture/compile/960106-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/960319-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/960829-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/970206-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/980825-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/990829-1.c   | 2 ++
 gcc/testsuite/gcc.c-torture/compile/991213-2.c   | 1 +
 112 files changed, 195 insertions(+)


base-commit: 8f4bbdc28df6e87a7ad5ec5ca191a7a836a4f016
  

Comments

Joseph Myers Oct. 20, 2023, 8:33 p.m. UTC | #1
OK.
  

Patch

diff --git a/gcc/testsuite/gcc.c-torture/compile/20000403-1.c b/gcc/testsuite/gcc.c-torture/compile/20000403-1.c
index cb56028fb8b..ef8f77d3d9b 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20000403-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20000403-1.c
@@ -1,4 +1,5 @@ 
 /* { dg-skip-if "too many arguments in function call" { bpf-*-* } } */
+/* { dg-additional-options "-std=gnu89" } */
 
 struct utsname {
 	char	sysname[32 ];	 
diff --git a/gcc/testsuite/gcc.c-torture/compile/20000511-1.c b/gcc/testsuite/gcc.c-torture/compile/20000511-1.c
index 11c131522e6..cbabe2fde1c 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20000511-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20000511-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef struct {
   char y;
   char x[32];
diff --git a/gcc/testsuite/gcc.c-torture/compile/20000804-1.c b/gcc/testsuite/gcc.c-torture/compile/20000804-1.c
index 95bb0fafd70..c6f6497b7a7 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20000804-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20000804-1.c
@@ -8,6 +8,7 @@ 
 /* { dg-xfail-if "Inconsistent constraint on asm" { bpf-*-* } { "-O0" } { "" } } */
 /* { dg-xfail-if "" { h8300-*-* } } */
 /* { dg-require-stack-size "99*4+16" } */
+/* { dg-additional-options "-std=gnu89" } */
 
 /* Copyright (C) 2000, 2003 Free Software Foundation */
 __complex__ long long f ()
diff --git a/gcc/testsuite/gcc.c-torture/compile/20020418-1.c b/gcc/testsuite/gcc.c-torture/compile/20020418-1.c
index df01e6847e3..ee70a284580 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20020418-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20020418-1.c
@@ -3,6 +3,7 @@ 
    was assigned a hard register only after expand_null_return was called,
    thus return pseudo was clobbered twice and the hard register not at
    all.  */
+/* { dg-additional-options "-std=gnu89" } */
 
 void baz (void);
                        
diff --git a/gcc/testsuite/gcc.c-torture/compile/20020927-1.c b/gcc/testsuite/gcc.c-torture/compile/20020927-1.c
index b93d8a18d5e..15b078728fa 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20020927-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20020927-1.c
@@ -1,6 +1,7 @@ 
 /* PR optimization/7520 */
 /* ICE at -O3 on x86 due to register life problems caused by
    the return-without-value in bar.  */
+/* { dg-additional-options "-std=gnu89" } */
 
 int
 foo ()
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030109-1.c b/gcc/testsuite/gcc.c-torture/compile/20030109-1.c
index 4df7d18721a..cee438181cb 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20030109-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20030109-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 void foo ()
 {
   int x1, x2, x3;
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030224-1.c b/gcc/testsuite/gcc.c-torture/compile/20030224-1.c
index 11bc3af9fc6..10c461998db 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20030224-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20030224-1.c
@@ -1,4 +1,6 @@ 
 /* { dg-require-effective-target alloca } */
+/* { dg-additional-options "-std=gnu89" } */
+
 void zzz (char *s1, char *s2, int len, int *q)
 {
   int z = 5;
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030415-1.c b/gcc/testsuite/gcc.c-torture/compile/20030415-1.c
index bcca4c85dc6..733e0d7fe8f 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20030415-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20030415-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 float g(float f)
 {
   return fabs(f);
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030612-1.c b/gcc/testsuite/gcc.c-torture/compile/20030612-1.c
index 8edbd92bd47..1da81183d6c 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20030612-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20030612-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 static inline void
 foo (long long const v0, long long const v1)
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030917-1.c b/gcc/testsuite/gcc.c-torture/compile/20030917-1.c
index 38b6598af14..fa38025a740 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20030917-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20030917-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef struct string STR;
 typedef struct atbl ARRAY;
 struct string {
diff --git a/gcc/testsuite/gcc.c-torture/compile/20031113-1.c b/gcc/testsuite/gcc.c-torture/compile/20031113-1.c
index 74c031c3d86..15c2cd54eb0 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20031113-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20031113-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 /* On Darwin, the stub for simple_cst_equal was not being emitted at all 
    causing the as to die and not create an object file.  */
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/20031220-2.c b/gcc/testsuite/gcc.c-torture/compile/20031220-2.c
index 45c82779400..6f53079332c 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20031220-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20031220-2.c
@@ -2,6 +2,7 @@ 
   Orgin: Matt Thomas <matt@3am-software.com>
   This used to cause GCC to write out an instruction for i386 when using a L64 host
   which gas could not handle because GCC would write a full 64bit hex string out. */
+/* { dg-additional-options "-std=gnu89" } */
 
 
 float fabsf (float);
diff --git a/gcc/testsuite/gcc.c-torture/compile/20040309-1.c b/gcc/testsuite/gcc.c-torture/compile/20040309-1.c
index df8390f207b..d6ed37698c6 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20040309-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20040309-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 static const char default_tupleseps[] = ", \t";
 
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/20040310-1.c b/gcc/testsuite/gcc.c-torture/compile/20040310-1.c
index f0c85f0ada5..d7f4b10e1d4 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20040310-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20040310-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 void I_wacom ()
 {
   char buffer[50], *p;
diff --git a/gcc/testsuite/gcc.c-torture/compile/20040317-3.c b/gcc/testsuite/gcc.c-torture/compile/20040317-3.c
index e6982c3e3b3..975717588ad 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20040317-3.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20040317-3.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 I_wacom ()
 {
   char buffer[50], *p;
diff --git a/gcc/testsuite/gcc.c-torture/compile/20040817-1.c b/gcc/testsuite/gcc.c-torture/compile/20040817-1.c
index 158596c8f2d..c99fc3372a7 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20040817-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20040817-1.c
@@ -1,4 +1,5 @@ 
 /* PR 17051: SRA failed to rename the VOPS properly.  */
+/* { dg-additional-options "-std=gnu89" } */
 
 struct A
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/20091215-1.c b/gcc/testsuite/gcc.c-torture/compile/20091215-1.c
index 1df5098fdb6..017bb1e438a 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20091215-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20091215-1.c
@@ -1,4 +1,5 @@ 
 /* { dg-require-effective-target untyped_assembly } */
+/* { dg-additional-options "-std=gnu89" } */
 
 void bar ();
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/86.c b/gcc/testsuite/gcc.c-torture/compile/86.c
index deea85ee2f4..6b0017d0ee9 100644
--- a/gcc/testsuite/gcc.c-torture/compile/86.c
+++ b/gcc/testsuite/gcc.c-torture/compile/86.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 m32 (a)
      int *a;
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/900216-1.c b/gcc/testsuite/gcc.c-torture/compile/900216-1.c
index 8a4bfb74e78..8796599af54 100644
--- a/gcc/testsuite/gcc.c-torture/compile/900216-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/900216-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 foo (p, a, b)
      unsigned short *p;
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/900313-1.c b/gcc/testsuite/gcc.c-torture/compile/900313-1.c
index 12252b4b229..82552dc9e6d 100644
--- a/gcc/testsuite/gcc.c-torture/compile/900313-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/900313-1.c
@@ -1,5 +1,6 @@ 
 /* { dg-require-effective-target alloca } */
 /* { dg-skip-if "too many arguments in function call" { bpf-*-* } } */
+/* { dg-additional-options "-std=gnu89" } */
 
 main ()
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/900407-1.c b/gcc/testsuite/gcc.c-torture/compile/900407-1.c
index fdf47791cd7..07cbe0774b5 100644
--- a/gcc/testsuite/gcc.c-torture/compile/900407-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/900407-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 foo (a, b, p)
      int *p;
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/900516-1.c b/gcc/testsuite/gcc.c-torture/compile/900516-1.c
index 69e96144745..b51b870208e 100644
--- a/gcc/testsuite/gcc.c-torture/compile/900516-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/900516-1.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f(c){return!(c?2.0:1.0);}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920409-2.c b/gcc/testsuite/gcc.c-torture/compile/920409-2.c
index ef2bdb8b7e7..b6b86869943 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920409-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920409-2.c
@@ -1,2 +1,4 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 double x(){int x1,x2;double v;
 if(((long)(x1-x2))<1)return -1.0;v=t(v);v=y(1,v>0.0?(int)v:((int)v-1));}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920415-1.c b/gcc/testsuite/gcc.c-torture/compile/920415-1.c
index 96ac7fe9be4..261020a0ea7 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920415-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920415-1.c
@@ -1,5 +1,6 @@ 
 /* { dg-require-effective-target indirect_jumps } */
 /* { dg-require-effective-target label_values } */
+/* { dg-additional-options "-std=gnu89" } */
 
 extern void abort (void);
 extern void exit (int);
diff --git a/gcc/testsuite/gcc.c-torture/compile/920428-1.c b/gcc/testsuite/gcc.c-torture/compile/920428-1.c
index fdc478a382c..32b17cbc538 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920428-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920428-1.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 x(){char*q;return(long)q>>8&0xff;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920428-5.c b/gcc/testsuite/gcc.c-torture/compile/920428-5.c
index ff313799280..4aa4f60086e 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920428-5.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920428-5.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef struct{unsigned b0:1;}*t;x(a,b)t a,b;{b->b0=a->b0;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920428-7.c b/gcc/testsuite/gcc.c-torture/compile/920428-7.c
index 69b1d979aa9..47da940247c 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920428-7.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920428-7.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 x(float*x){int a[4],i=0,j;for(j=0;j<2;j++){f(a[i++]);f(a[i++]);}}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-1.c b/gcc/testsuite/gcc.c-torture/compile/920501-1.c
index 84cc122070b..6215852810e 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-1.c
@@ -1,3 +1,4 @@ 
 /* { dg-require-effective-target label_values } */
+/* { dg-additional-options "-std=gnu89" } */
 
 a(){int**b[]={&&c};c:;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-13.c b/gcc/testsuite/gcc.c-torture/compile/920501-13.c
index b5a6798ecc2..e7670e33ddb 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-13.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-13.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef struct{int i;}t;inline y(t u){}x(){t u;y(u);}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-15.c b/gcc/testsuite/gcc.c-torture/compile/920501-15.c
index 81fd66401d5..aaae9d34716 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-15.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-15.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 x(a)double a;{int i;return i>a?i:i+1;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-16.c b/gcc/testsuite/gcc.c-torture/compile/920501-16.c
index f82b7524b24..732ef0f6e28 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-16.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-16.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f(n){struct z{int a,b[n],c[n];};}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-18.c b/gcc/testsuite/gcc.c-torture/compile/920501-18.c
index 70f7c0af505..e2110b7bade 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-18.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-18.c
@@ -1,2 +1,4 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 union u{int i;float f;};
 x(p)int p;{union u x;for(x.i=0;x.i<p;x.i++)if(x.f>(float)3.0)break;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-20.c b/gcc/testsuite/gcc.c-torture/compile/920501-20.c
index 170d0501761..dcbb039cc88 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-20.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-20.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 int*f(x)int*x;{if(x[4]){int h[1];if(setjmp(h))return x;}}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-6.c b/gcc/testsuite/gcc.c-torture/compile/920501-6.c
index d0a406381ff..dcf00efef9b 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-6.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-6.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 x(y,z)float*y;{*y=z;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-7.c b/gcc/testsuite/gcc.c-torture/compile/920501-7.c
index 0fac5f3495f..08b85359a09 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-7.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-7.c
@@ -1,4 +1,5 @@ 
 /* { dg-require-effective-target label_values } */
 /* { dg-skip-if "no support for indirect jumps" { bpf-*-* } } */
+/* { dg-additional-options "-std=gnu89" } */
 
 x(){if(&&e-&&b<0)x();b:goto*&&b;e:;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920502-1.c b/gcc/testsuite/gcc.c-torture/compile/920502-1.c
index ec2405a7b63..7156702a172 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920502-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920502-1.c
@@ -1,3 +1,4 @@ 
 /* { dg-require-effective-target indirect_jumps } */
+/* { dg-additional-options "-std=gnu89" } */
 
 extern void*t[];x(i){goto*t[i];}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920502-2.c b/gcc/testsuite/gcc.c-torture/compile/920502-2.c
index d3aa1e26d81..20c2f6ee5ff 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920502-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920502-2.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 x(c){1LL<<c;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920520-1.c b/gcc/testsuite/gcc.c-torture/compile/920520-1.c
index 037102ee55c..c069dccedd5 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920520-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920520-1.c
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
 /* { dg-skip-if "" { pdp11-*-* } } */
+/* { dg-additional-options "-std=gnu89" } */
 
 f(){asm("%0"::"r"(1.5F));}g(){asm("%0"::"r"(1.5));}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920521-1.c b/gcc/testsuite/gcc.c-torture/compile/920521-1.c
index 6c4c99d70f6..aba078f01e7 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920521-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920521-1.c
@@ -1,3 +1,4 @@ 
 /* { dg-do compile } */
+/* { dg-additional-options "-std=gnu89" } */
 
 f(){asm("f":::"cc");}g(x,y){asm("g"::"%r"(x), "r"(y));}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920608-1.c b/gcc/testsuite/gcc.c-torture/compile/920608-1.c
index cae1978e6c0..4ba835111c7 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920608-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920608-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 foo (p)
      int *p;
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/920617-1.c b/gcc/testsuite/gcc.c-torture/compile/920617-1.c
index 2d84e8d84f8..48e16e84446 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920617-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920617-1.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f(){double*xp,y;*xp++=sqrt(y);}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920617-2.c b/gcc/testsuite/gcc.c-torture/compile/920617-2.c
index 3a5450982c0..590b8f9368b 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920617-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920617-2.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f(a,b,c,d)float a[],d;int b[],c;{}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920625-1.c b/gcc/testsuite/gcc.c-torture/compile/920625-1.c
index 759a356b5b7..20ef35e0e4b 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920625-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920625-1.c
@@ -1,4 +1,5 @@ 
 /* { dg-skip-if "too many arguments in function call" { bpf-*-* } } */
+/* { dg-additional-options "-std=gnu89" } */
 
 typedef unsigned long int unsigned_word;
 typedef signed long int signed_word;
diff --git a/gcc/testsuite/gcc.c-torture/compile/920625-2.c b/gcc/testsuite/gcc.c-torture/compile/920625-2.c
index c0cb6db7d87..40c3d9bf126 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920625-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920625-2.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef	char *	caddr_t;
 typedef unsigned Cursor;
 typedef char *String;
diff --git a/gcc/testsuite/gcc.c-torture/compile/920626-1.c b/gcc/testsuite/gcc.c-torture/compile/920626-1.c
index 54419866a1f..7c2c99fec98 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920626-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920626-1.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f(x)unsigned x;{return x>>-5;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920706-1.c b/gcc/testsuite/gcc.c-torture/compile/920706-1.c
index 13b0ff1e0ba..b5e4fa02189 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920706-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920706-1.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f(){float i[2],o[1];g(o);return*o;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920710-2.c b/gcc/testsuite/gcc.c-torture/compile/920710-2.c
index dcaf1bea3cf..782bac654cf 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920710-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920710-2.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 union u
 {
   struct {unsigned h, l;} i;
diff --git a/gcc/testsuite/gcc.c-torture/compile/920723-1.c b/gcc/testsuite/gcc.c-torture/compile/920723-1.c
index 2d778759e13..4295124231a 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920723-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920723-1.c
@@ -1,5 +1,6 @@ 
 /* { dg-add-options stack_size } */
 /* { dg-require-stack-size "75*75*4" } */
+/* { dg-additional-options "-std=gnu89" } */
 
 #if defined(STACK_SIZE) && STACK_SIZE < 65536
 # define GITT_SIZE 75
diff --git a/gcc/testsuite/gcc.c-torture/compile/920808-1.c b/gcc/testsuite/gcc.c-torture/compile/920808-1.c
index 17510a96821..72b8e307183 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920808-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920808-1.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f(i){for(i=1;i<=2;({;}),i++){({;}),g();}}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920809-1.c b/gcc/testsuite/gcc.c-torture/compile/920809-1.c
index ad35e121003..fe5af522b89 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920809-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920809-1.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f(x,y){memcpy (&x,&y,8192);}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920817-1.c b/gcc/testsuite/gcc.c-torture/compile/920817-1.c
index 31a57339ea9..be807309625 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920817-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920817-1.c
@@ -1 +1,3 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 int v;static inline f(){return 0;}g(){return f();}void h(){return v++;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920831-1.c b/gcc/testsuite/gcc.c-torture/compile/920831-1.c
index 945c521292f..c990e087bb3 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920831-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920831-1.c
@@ -1,3 +1,4 @@ 
 /* { dg-require-effective-target indirect_jumps } */
+/* { dg-additional-options "-std=gnu89" } */
 
 f(x){goto*(void *)x;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920917-1.c b/gcc/testsuite/gcc.c-torture/compile/920917-1.c
index 139f60e6f5e..28e52119966 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920917-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920917-1.c
@@ -1,4 +1,5 @@ 
 /* { dg-require-effective-target untyped_assembly } */
+/* { dg-additional-options "-std=gnu89" } */
 
 inline f(x){switch(x){case 6:case 4:case 3:case 1:;}return x;}
 g(){f(sizeof("xxxxxx"));}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920928-2.c b/gcc/testsuite/gcc.c-torture/compile/920928-2.c
index a0964f90f44..ba7c868f072 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920928-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920928-2.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef struct{struct{char*d;int b;}*i;}*t;
 double f();
 g(p)t p;
diff --git a/gcc/testsuite/gcc.c-torture/compile/920928-5.c b/gcc/testsuite/gcc.c-torture/compile/920928-5.c
index b9f9dcbaeb0..f38c7cdafe0 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920928-5.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920928-5.c
@@ -1,6 +1,7 @@ 
 /* REPRODUCED:CC1:SIGNAL MACHINE:m68k OPTIONS:-fpcc-struct-return */
 
 /* { dg-require-effective-target indirect_calls } */
+/* { dg-additional-options "-std=gnu89" } */
 
 struct b{};
 f(struct b(*f)())
diff --git a/gcc/testsuite/gcc.c-torture/compile/921012-1.c b/gcc/testsuite/gcc.c-torture/compile/921012-1.c
index 7b5cb6b9f17..4f7d797343d 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921012-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921012-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f()
 {
 g(({int x;0;}));
diff --git a/gcc/testsuite/gcc.c-torture/compile/921021-1.c b/gcc/testsuite/gcc.c-torture/compile/921021-1.c
index 18dffeb9dd3..2cd6de53d1c 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921021-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921021-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 void g();
 
 f()
diff --git a/gcc/testsuite/gcc.c-torture/compile/921024-1.c b/gcc/testsuite/gcc.c-torture/compile/921024-1.c
index e723246d6b2..0d5ff956122 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921024-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921024-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 long long f(s,r)
 {
   return *(long long*)(s+r);
diff --git a/gcc/testsuite/gcc.c-torture/compile/921103-1.c b/gcc/testsuite/gcc.c-torture/compile/921103-1.c
index 578e91aaf83..0dbb9cc5308 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921103-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921103-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 struct {
   unsigned int f1, f2;
 } s;
diff --git a/gcc/testsuite/gcc.c-torture/compile/921109-1.c b/gcc/testsuite/gcc.c-torture/compile/921109-1.c
index eda43451f25..be04e6894da 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921109-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921109-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef struct { double x, y; } p;
 typedef struct { int s; float r; } t;
 t *e, i;
diff --git a/gcc/testsuite/gcc.c-torture/compile/921111-1.c b/gcc/testsuite/gcc.c-torture/compile/921111-1.c
index 11b467460b3..798afe6fc47 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921111-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921111-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 int ps;
 struct vp {
   int wa;
diff --git a/gcc/testsuite/gcc.c-torture/compile/921116-2.c b/gcc/testsuite/gcc.c-torture/compile/921116-2.c
index 9eac91cb5c2..49b4d4fd6c9 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921116-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921116-2.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef struct {
  long l[5];
 } t;
diff --git a/gcc/testsuite/gcc.c-torture/compile/921118-1.c b/gcc/testsuite/gcc.c-torture/compile/921118-1.c
index 857c74e74f1..d45fdf4118c 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921118-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921118-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 inline f(i)
 {
   h((long long) i * 2);
diff --git a/gcc/testsuite/gcc.c-torture/compile/921202-1.c b/gcc/testsuite/gcc.c-torture/compile/921202-1.c
index d97ddf6144e..83a3ad4f81c 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921202-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921202-1.c
@@ -1,4 +1,5 @@ 
 /* { dg-require-stack-size "2055*3*8" } */
+/* { dg-additional-options "-std=gnu89" } */
 
 f ()
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/921202-2.c b/gcc/testsuite/gcc.c-torture/compile/921202-2.c
index 97d482b633c..2ad14402b33 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921202-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921202-2.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f(x, c)
 {
   for (;;)
diff --git a/gcc/testsuite/gcc.c-torture/compile/921203-1.c b/gcc/testsuite/gcc.c-torture/compile/921203-1.c
index 50fe3eb0b6f..5e60541f337 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921203-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921203-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 char dispstr[];
 f()
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/921203-2.c b/gcc/testsuite/gcc.c-torture/compile/921203-2.c
index 929afb1bdde..88b22c884e9 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921203-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921203-2.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef struct
 {
   char x;
diff --git a/gcc/testsuite/gcc.c-torture/compile/921206-1.c b/gcc/testsuite/gcc.c-torture/compile/921206-1.c
index 10fa5ea6479..4e9c3e0bab2 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921206-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921206-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 double sqrt(double),fabs(double),sin(double);
 int sxs;
 int sys;
diff --git a/gcc/testsuite/gcc.c-torture/compile/930109-1.c b/gcc/testsuite/gcc.c-torture/compile/930109-1.c
index dbd15a1bd0a..e5ce10ee571 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930109-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930109-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f(x)
      unsigned x;
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/930111-1.c b/gcc/testsuite/gcc.c-torture/compile/930111-1.c
index 28574191d13..5661cdf3219 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930111-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930111-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 /* 2.3.3 crashes on 386 with -traditional */
 f(a)
      char *a;
diff --git a/gcc/testsuite/gcc.c-torture/compile/930117-1.c b/gcc/testsuite/gcc.c-torture/compile/930117-1.c
index 06466f5e587..d8a023c5849 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930117-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930117-1.c
@@ -1,4 +1,5 @@ 
 /* { dg-require-effective-target indirect_calls } */
+/* { dg-additional-options "-std=gnu89" } */
 
 f(x)
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/930118-1.c b/gcc/testsuite/gcc.c-torture/compile/930118-1.c
index b29543c529e..e1dbc1fbb5b 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930118-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930118-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f()
 {
 __label__ l;
diff --git a/gcc/testsuite/gcc.c-torture/compile/930120-1.c b/gcc/testsuite/gcc.c-torture/compile/930120-1.c
index a1d8df87c4b..c4fd6a48241 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930120-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930120-1.c
@@ -1,4 +1,5 @@ 
 /* { dg-require-effective-target untyped_assembly } */
+/* { dg-additional-options "-std=gnu89" } */
 union {
   short I[2];
   long int L;
diff --git a/gcc/testsuite/gcc.c-torture/compile/930217-1.c b/gcc/testsuite/gcc.c-torture/compile/930217-1.c
index 0f64a040712..cdad9f51e47 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930217-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930217-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 /* The bit-field below would have a problem if __INT_MAX__ is too
    small.  */
 #if __INT_MAX__ < 2147483647
diff --git a/gcc/testsuite/gcc.c-torture/compile/930325-1.c b/gcc/testsuite/gcc.c-torture/compile/930325-1.c
index 24cea5027ab..f493d49d9fe 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930325-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930325-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef unsigned uint;
 
 inline
diff --git a/gcc/testsuite/gcc.c-torture/compile/930411-1.c b/gcc/testsuite/gcc.c-torture/compile/930411-1.c
index 6dd87eefc7c..cf1a17136e7 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930411-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930411-1.c
@@ -1,4 +1,5 @@ 
 /* { dg-require-effective-target untyped_assembly } */
+/* { dg-additional-options "-std=gnu89" } */
 
 int heap;
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/930427-2.c b/gcc/testsuite/gcc.c-torture/compile/930427-2.c
index 53b633785ae..ad084ca7669 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930427-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930427-2.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 struct s {
   int f;
 };
diff --git a/gcc/testsuite/gcc.c-torture/compile/930503-2.c b/gcc/testsuite/gcc.c-torture/compile/930503-2.c
index 1b0ea34f038..7eb58f8a3b8 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930503-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930503-2.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f()
 {
   struct { char x; } r;
diff --git a/gcc/testsuite/gcc.c-torture/compile/930506-2.c b/gcc/testsuite/gcc.c-torture/compile/930506-2.c
index bc982acffba..aa56fe5f463 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930506-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930506-2.c
@@ -1,4 +1,5 @@ 
 /* { dg-require-effective-target trampolines } */
+/* { dg-additional-options "-std=gnu89" } */
 
 int f1()
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/930513-2.c b/gcc/testsuite/gcc.c-torture/compile/930513-2.c
index a7f508c8266..d81ae058699 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930513-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930513-2.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 double g ();
 
 f (x)
diff --git a/gcc/testsuite/gcc.c-torture/compile/930530-1.c b/gcc/testsuite/gcc.c-torture/compile/930530-1.c
index 848e0400ece..6d07c98ad59 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930530-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930530-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f ()
 {
   struct { char a, b; } x;
diff --git a/gcc/testsuite/gcc.c-torture/compile/930602-1.c b/gcc/testsuite/gcc.c-torture/compile/930602-1.c
index 5a0eb2189ba..3045e4072cd 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930602-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930602-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef struct {
  int f[8];
 } T;
diff --git a/gcc/testsuite/gcc.c-torture/compile/930618-1.c b/gcc/testsuite/gcc.c-torture/compile/930618-1.c
index 74c21572550..fa728f257e8 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930618-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930618-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f (s)
 {
   int r;
diff --git a/gcc/testsuite/gcc.c-torture/compile/930623-1.c b/gcc/testsuite/gcc.c-torture/compile/930623-1.c
index dd45bbccc38..7736fa95e5b 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930623-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930623-1.c
@@ -1,5 +1,6 @@ 
 /* { dg-require-effective-target untyped_assembly } */
 /* { dg-skip-if "no __builtin_apply in eBPF" { bpf-*-* } } */
+/* { dg-additional-options "-std=gnu89" } */
 
 g (a, b) {}
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/931003-1.c b/gcc/testsuite/gcc.c-torture/compile/931003-1.c
index 637b9aa6d26..b14e92027dd 100644
--- a/gcc/testsuite/gcc.c-torture/compile/931003-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/931003-1.c
@@ -1,4 +1,5 @@ 
 /* { dg-require-stack-size "52*8" } */
+/* { dg-additional-options "-std=gnu89" } */
 
 f (n, a)
      int n;
diff --git a/gcc/testsuite/gcc.c-torture/compile/931013-1.c b/gcc/testsuite/gcc.c-torture/compile/931013-1.c
index c237c0b7341..ab6138b22d0 100644
--- a/gcc/testsuite/gcc.c-torture/compile/931013-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/931013-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 g ();
 
 f ()
diff --git a/gcc/testsuite/gcc.c-torture/compile/931013-2.c b/gcc/testsuite/gcc.c-torture/compile/931013-2.c
index 8fc0db492ab..8c78fdef7e3 100644
--- a/gcc/testsuite/gcc.c-torture/compile/931013-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/931013-2.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f (unsigned short Z[48])
 {
   int j;
diff --git a/gcc/testsuite/gcc.c-torture/compile/931102-2.c b/gcc/testsuite/gcc.c-torture/compile/931102-2.c
index f39b271645d..10ba03f9890 100644
--- a/gcc/testsuite/gcc.c-torture/compile/931102-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/931102-2.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef struct {
   int a;
 } VCR;
diff --git a/gcc/testsuite/gcc.c-torture/compile/931203-1.c b/gcc/testsuite/gcc.c-torture/compile/931203-1.c
index 3007ff582e0..b4fef4e8da7 100644
--- a/gcc/testsuite/gcc.c-torture/compile/931203-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/931203-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 v (a, i)
      unsigned  *a, i;
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/940718-1.c b/gcc/testsuite/gcc.c-torture/compile/940718-1.c
index 505280fa91e..82953b1a4e6 100644
--- a/gcc/testsuite/gcc.c-torture/compile/940718-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/940718-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 extern double log (double) __attribute__ ((const));
 
 f (double x)
diff --git a/gcc/testsuite/gcc.c-torture/compile/941014-1.c b/gcc/testsuite/gcc.c-torture/compile/941014-1.c
index d31701572fc..760c8aadd5c 100644
--- a/gcc/testsuite/gcc.c-torture/compile/941014-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/941014-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f (to)
      char *to;
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/941014-2.c b/gcc/testsuite/gcc.c-torture/compile/941014-2.c
index 01e9a672e88..c7ac0ac8ba8 100644
--- a/gcc/testsuite/gcc.c-torture/compile/941014-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/941014-2.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 void
 f (n, ppt, xrot)
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/941014-3.c b/gcc/testsuite/gcc.c-torture/compile/941014-3.c
index 6dcb89395e3..db1ac6c3a0f 100644
--- a/gcc/testsuite/gcc.c-torture/compile/941014-3.c
+++ b/gcc/testsuite/gcc.c-torture/compile/941014-3.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef unsigned char byte;
 typedef unsigned int uint;
 typedef unsigned long ulong;
diff --git a/gcc/testsuite/gcc.c-torture/compile/941014-4.c b/gcc/testsuite/gcc.c-torture/compile/941014-4.c
index 9c4cec8b7a0..f7cdcc002ee 100644
--- a/gcc/testsuite/gcc.c-torture/compile/941014-4.c
+++ b/gcc/testsuite/gcc.c-torture/compile/941014-4.c
@@ -1,4 +1,5 @@ 
 /* { dg-require-effective-target label_values } */
+/* { dg-additional-options "-std=gnu89" } */
 
 f (int *re)
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/941111-1.c b/gcc/testsuite/gcc.c-torture/compile/941111-1.c
index 3f0c28bef12..22ed2c4d091 100644
--- a/gcc/testsuite/gcc.c-torture/compile/941111-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/941111-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 main ()
 {
   struct S { int i; char c; } obj1, obj2;
diff --git a/gcc/testsuite/gcc.c-torture/compile/941113-1.c b/gcc/testsuite/gcc.c-torture/compile/941113-1.c
index 5c2e0b68c56..78f7c05ce12 100644
--- a/gcc/testsuite/gcc.c-torture/compile/941113-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/941113-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef void foo (void);
 
 f (x)
diff --git a/gcc/testsuite/gcc.c-torture/compile/950124-1.c b/gcc/testsuite/gcc.c-torture/compile/950124-1.c
index e723954a0c1..1467e7a5a95 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950124-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950124-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f ()
 {
   if (g ())
diff --git a/gcc/testsuite/gcc.c-torture/compile/950329-1.c b/gcc/testsuite/gcc.c-torture/compile/950329-1.c
index 63ec6b28120..adb3ad57fc1 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950329-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950329-1.c
@@ -1,4 +1,6 @@ 
 /* { dg-require-effective-target untyped_assembly } */
+/* { dg-additional-options "-std=gnu89" } */
+
 f ()
 {
   int i;
diff --git a/gcc/testsuite/gcc.c-torture/compile/950612-1.c b/gcc/testsuite/gcc.c-torture/compile/950612-1.c
index cb3cb0a59d6..93e5e712b5d 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950612-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950612-1.c
@@ -1,3 +1,6 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
+
 typedef enum
 {
   LODI,
diff --git a/gcc/testsuite/gcc.c-torture/compile/950618-1.c b/gcc/testsuite/gcc.c-torture/compile/950618-1.c
index 4229da4e9bf..3b832865e0d 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950618-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950618-1.c
@@ -1,2 +1,4 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 static __inline__ int f () { return g (); }
 int g () { return f (); }
diff --git a/gcc/testsuite/gcc.c-torture/compile/950719-1.c b/gcc/testsuite/gcc.c-torture/compile/950719-1.c
index e1ac117daeb..ce5c7e157fa 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950719-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950719-1.c
@@ -1,4 +1,5 @@ 
 /* { dg-require-stack-size "4092+4" } */
+/* { dg-additional-options "-std=gnu89" } */
 
 typedef struct
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/950910-1.c b/gcc/testsuite/gcc.c-torture/compile/950910-1.c
index 1be2aa55e68..75204bca651 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950910-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950910-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f (char *p)
 {
   char c;
diff --git a/gcc/testsuite/gcc.c-torture/compile/950922-1.c b/gcc/testsuite/gcc.c-torture/compile/950922-1.c
index 73c52f7740a..ecd987e8952 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950922-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950922-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 struct sw {
   const void *x;
   int r;
diff --git a/gcc/testsuite/gcc.c-torture/compile/951106-1.c b/gcc/testsuite/gcc.c-torture/compile/951106-1.c
index 09cba20c1d0..ee3b261dd4b 100644
--- a/gcc/testsuite/gcc.c-torture/compile/951106-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/951106-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f (double a, double b)
 {
   g (a, 0, b);
diff --git a/gcc/testsuite/gcc.c-torture/compile/951222-1.c b/gcc/testsuite/gcc.c-torture/compile/951222-1.c
index f1818e322cf..60a2969e120 100644
--- a/gcc/testsuite/gcc.c-torture/compile/951222-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/951222-1.c
@@ -1,4 +1,5 @@ 
 /* { dg-require-stack-size "10000+3*8" } */
+/* { dg-additional-options "-std=gnu89" } */
 
 extern long long foo ();
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/960106-1.c b/gcc/testsuite/gcc.c-torture/compile/960106-1.c
index c8228aab587..4f2f95de101 100644
--- a/gcc/testsuite/gcc.c-torture/compile/960106-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/960106-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f (a)
 {
   return (a & 1) && !(a & 2 & 4);
diff --git a/gcc/testsuite/gcc.c-torture/compile/960319-1.c b/gcc/testsuite/gcc.c-torture/compile/960319-1.c
index f3d95ab6e8e..345f8b92a31 100644
--- a/gcc/testsuite/gcc.c-torture/compile/960319-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/960319-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 static void
 f()
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/960829-1.c b/gcc/testsuite/gcc.c-torture/compile/960829-1.c
index 8c6163dfaf0..8bd71b07772 100644
--- a/gcc/testsuite/gcc.c-torture/compile/960829-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/960829-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 f ()
 {
   g (0, 0.0, 0.0, 0.0, 0.0);
diff --git a/gcc/testsuite/gcc.c-torture/compile/970206-1.c b/gcc/testsuite/gcc.c-torture/compile/970206-1.c
index 95196cd6a54..233d3305595 100644
--- a/gcc/testsuite/gcc.c-torture/compile/970206-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/970206-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 struct Rect
 {
   int iA;
diff --git a/gcc/testsuite/gcc.c-torture/compile/980825-1.c b/gcc/testsuite/gcc.c-torture/compile/980825-1.c
index 34e35bf83c4..4b3831c3a81 100644
--- a/gcc/testsuite/gcc.c-torture/compile/980825-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/980825-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 typedef enum { FALSE, TRUE } boolean;
 enum _errorTypes { FATAL = 1, WARNING = 2, PERROR = 4 };
 typedef struct _optionValues {
diff --git a/gcc/testsuite/gcc.c-torture/compile/990829-1.c b/gcc/testsuite/gcc.c-torture/compile/990829-1.c
index 2252821938e..97579f073f1 100644
--- a/gcc/testsuite/gcc.c-torture/compile/990829-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/990829-1.c
@@ -1,3 +1,5 @@ 
+/* { dg-additional-options "-std=gnu89" } */
+
 struct x
 {
   int a:16;
diff --git a/gcc/testsuite/gcc.c-torture/compile/991213-2.c b/gcc/testsuite/gcc.c-torture/compile/991213-2.c
index dfbedf7d674..d5285305518 100644
--- a/gcc/testsuite/gcc.c-torture/compile/991213-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/991213-2.c
@@ -1,4 +1,5 @@ 
 /* { dg-require-effective-target indirect_calls } */
+/* { dg-additional-options "-std=gnu89" } */
 
 typedef long		__kernel_time_t;
 typedef __kernel_time_t		time_t;