aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target')
-rw-r--r--gcc/testsuite/gcc.target/i386/excess-precision-3.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/fma4-256-nmsubXX.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/fma4-nmsubXX.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/nop-mcount.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/pr102627.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/pr106994.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/pr68349.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/pr97313.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/pr99454.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/record-mcount.c2
10 files changed, 10 insertions, 10 deletions
diff --git a/gcc/testsuite/gcc.target/i386/excess-precision-3.c b/gcc/testsuite/gcc.target/i386/excess-precision-3.c
index e8e9abc..06f2489 100644
--- a/gcc/testsuite/gcc.target/i386/excess-precision-3.c
+++ b/gcc/testsuite/gcc.target/i386/excess-precision-3.c
@@ -1,7 +1,7 @@
/* Excess precision tests. Test excess precision is removed when
necessary. */
/* { dg-do run } */
-/* { dg-options "-O2 -mfpmath=387 -fexcess-precision=standard" } */
+/* { dg-options "-Wno-old-style-definition -O2 -mfpmath=387 -fexcess-precision=standard" } */
#include <float.h>
#include <stdarg.h>
diff --git a/gcc/testsuite/gcc.target/i386/fma4-256-nmsubXX.c b/gcc/testsuite/gcc.target/i386/fma4-256-nmsubXX.c
index 385cd95..ef0cf41 100644
--- a/gcc/testsuite/gcc.target/i386/fma4-256-nmsubXX.c
+++ b/gcc/testsuite/gcc.target/i386/fma4-256-nmsubXX.c
@@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target fma4 } */
-/* { dg-options "-O2 -mfma4" } */
+/* { dg-options "-std=gnu17 -O2 -mfma4" } */
#include "fma4-check.h"
diff --git a/gcc/testsuite/gcc.target/i386/fma4-nmsubXX.c b/gcc/testsuite/gcc.target/i386/fma4-nmsubXX.c
index c0bce41..82431ea 100644
--- a/gcc/testsuite/gcc.target/i386/fma4-nmsubXX.c
+++ b/gcc/testsuite/gcc.target/i386/fma4-nmsubXX.c
@@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-require-effective-target fma4 } */
-/* { dg-options "-O0 -mfma4" } */
+/* { dg-options "-std=gnu17 -O0 -mfma4" } */
#include "fma4-check.h"
diff --git a/gcc/testsuite/gcc.target/i386/nop-mcount.c b/gcc/testsuite/gcc.target/i386/nop-mcount.c
index a5f8d27..ee3c97f 100644
--- a/gcc/testsuite/gcc.target/i386/nop-mcount.c
+++ b/gcc/testsuite/gcc.target/i386/nop-mcount.c
@@ -1,7 +1,7 @@
/* Test -mnop-mcount */
/* { dg-do compile { target { *-*-linux* && nonpic } } } */
/* { dg-require-effective-target mfentry } */
-/* { dg-options "-pg -mfentry -mrecord-mcount -mnop-mcount" } */
+/* { dg-options "-Wno-old-style-definition -pg -mfentry -mrecord-mcount -mnop-mcount" } */
/* { dg-final { scan-assembler-not "__fentry__" } } */
/* Origin: Andi Kleen */
extern void foobar(char *);
diff --git a/gcc/testsuite/gcc.target/i386/pr102627.c b/gcc/testsuite/gcc.target/i386/pr102627.c
index 8ab9aca..7e14092 100644
--- a/gcc/testsuite/gcc.target/i386/pr102627.c
+++ b/gcc/testsuite/gcc.target/i386/pr102627.c
@@ -1,6 +1,6 @@
/* PR rtl-optimization/102627 */
/* { dg-do run } */
-/* { dg-options "-O1" } */
+/* { dg-options "-std=gnu17 -O1" } */
int a, f, l, m, q, c, d, g;
long b, e;
diff --git a/gcc/testsuite/gcc.target/i386/pr106994.c b/gcc/testsuite/gcc.target/i386/pr106994.c
index 0803311..b0bf985 100644
--- a/gcc/testsuite/gcc.target/i386/pr106994.c
+++ b/gcc/testsuite/gcc.target/i386/pr106994.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-march=skylake -Ofast" } */
+/* { dg-options "-std=gnu17 -march=skylake -Ofast" } */
typedef struct {
float ymin, ymax;
diff --git a/gcc/testsuite/gcc.target/i386/pr68349.c b/gcc/testsuite/gcc.target/i386/pr68349.c
index 3c38c3a..b8540e4 100644
--- a/gcc/testsuite/gcc.target/i386/pr68349.c
+++ b/gcc/testsuite/gcc.target/i386/pr68349.c
@@ -1,6 +1,6 @@
/* PR target/68483 */
/* { dg-do compile } */
-/* { dg-options "-O2" } */
+/* { dg-options "-std=gnu17 -O2" } */
int a, b;
unsigned long my_strlen();
diff --git a/gcc/testsuite/gcc.target/i386/pr97313.c b/gcc/testsuite/gcc.target/i386/pr97313.c
index 711766b..6167a1f 100644
--- a/gcc/testsuite/gcc.target/i386/pr97313.c
+++ b/gcc/testsuite/gcc.target/i386/pr97313.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -fPIE" } */
+/* { dg-options "-std=gnu17 -O2 -fPIE" } */
/* { dg-require-effective-target pie } */
typedef struct {
diff --git a/gcc/testsuite/gcc.target/i386/pr99454.c b/gcc/testsuite/gcc.target/i386/pr99454.c
index ba3ffe2..f46d56d 100644
--- a/gcc/testsuite/gcc.target/i386/pr99454.c
+++ b/gcc/testsuite/gcc.target/i386/pr99454.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O -w" } */
+/* { dg-options "-std=gnu17 -O -w" } */
struct skb_shared_info {
short gso_size;
diff --git a/gcc/testsuite/gcc.target/i386/record-mcount.c b/gcc/testsuite/gcc.target/i386/record-mcount.c
index 05b4bcb..52924e0 100644
--- a/gcc/testsuite/gcc.target/i386/record-mcount.c
+++ b/gcc/testsuite/gcc.target/i386/record-mcount.c
@@ -1,6 +1,6 @@
/* Test -mrecord-mcount */
/* { dg-do compile { target { *-*-linux* && nonpic } } } */
-/* { dg-options "-pg -mrecord-mcount" } */
+/* { dg-options "-Wno-old-style-definition -pg -mrecord-mcount" } */
/* { dg-final { scan-assembler "mcount_loc" } } */
/* Origin: Andi Kleen */
extern void foobar(char *);