diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20040214-2.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/921011-2.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/931102-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/990801-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/nested-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr100241-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr106101.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr113616.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr47967.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr51694.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr71109.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr83051-2.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr89663-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr94238.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr96796.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr97576.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/udivmod4.c | 2 |
17 files changed, 21 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/20040214-2.c b/gcc/testsuite/gcc.c-torture/compile/20040214-2.c index 352d5a5..a4fe1d2 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20040214-2.c +++ b/gcc/testsuite/gcc.c-torture/compile/20040214-2.c @@ -1,4 +1,5 @@ /* http://gcc.gnu.org/ml/gcc-patches/2004-02/msg01307.html */ +/* { dg-additional-options "-std=gnu17" } */ typedef struct xdef xdef; struct xdef diff --git a/gcc/testsuite/gcc.c-torture/compile/921011-2.c b/gcc/testsuite/gcc.c-torture/compile/921011-2.c index bf11dad..dbee954 100644 --- a/gcc/testsuite/gcc.c-torture/compile/921011-2.c +++ b/gcc/testsuite/gcc.c-torture/compile/921011-2.c @@ -1,3 +1,5 @@ +/* { dg-additional-options "-std=gnu17" } */ + extern int foobar1 (); typedef struct diff --git a/gcc/testsuite/gcc.c-torture/compile/931102-1.c b/gcc/testsuite/gcc.c-torture/compile/931102-1.c index f60b279..83568c1 100644 --- a/gcc/testsuite/gcc.c-torture/compile/931102-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/931102-1.c @@ -1,3 +1,5 @@ +/* { dg-additional-options "-std=gnu17" } */ + char *e (); #define SET \ diff --git a/gcc/testsuite/gcc.c-torture/compile/990801-1.c b/gcc/testsuite/gcc.c-torture/compile/990801-1.c index d35ec87..6459a11 100644 --- a/gcc/testsuite/gcc.c-torture/compile/990801-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/990801-1.c @@ -1,3 +1,5 @@ +/* { dg-additional-options "-std=gnu17" } */ + extern int getch(); extern int class(); diff --git a/gcc/testsuite/gcc.c-torture/compile/nested-1.c b/gcc/testsuite/gcc.c-torture/compile/nested-1.c index 135538a..7baade7 100644 --- a/gcc/testsuite/gcc.c-torture/compile/nested-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/nested-1.c @@ -1,3 +1,4 @@ +/* { dg-additional-options "-std=gnu17" } */ /* { dg-require-effective-target trampolines } */ typedef __SIZE_TYPE__ size_t; diff --git a/gcc/testsuite/gcc.c-torture/compile/pr100241-1.c b/gcc/testsuite/gcc.c-torture/compile/pr100241-1.c index 593ef96..1104580 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr100241-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr100241-1.c @@ -1,5 +1,6 @@ /* { dg-require-visibility "" } */ /* { dg-options "-fvisibility=internal -fPIC" { target fpic } } */ +/* { dg-additional-options "-std=gnu17" } */ extern char num_4x4_blocks_high_lookup, num_4x4_blocks_wide_lookup, vp9_foreach_transformed_block_in_plane_xd_0_0_0; diff --git a/gcc/testsuite/gcc.c-torture/compile/pr106101.c b/gcc/testsuite/gcc.c-torture/compile/pr106101.c index e307afc..664ecec 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr106101.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr106101.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-additional-options "-std=gnu17" } */ extern char *globerr; char **ftpglob(); diff --git a/gcc/testsuite/gcc.c-torture/compile/pr113616.c b/gcc/testsuite/gcc.c-torture/compile/pr113616.c index 04c38ea..a862e8b 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr113616.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr113616.c @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-g" } +// { dg-options "-std=gnu17 -g" } struct A { struct A *a; } foo (); struct B { long b; }; struct C { struct B c; struct A d; } *e; diff --git a/gcc/testsuite/gcc.c-torture/compile/pr47967.c b/gcc/testsuite/gcc.c-torture/compile/pr47967.c index fe1f9c2..39d73c6 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr47967.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr47967.c @@ -1,4 +1,5 @@ /* PR tree-optimization/47967 */ +/* { dg-additional-options "-std=gnu17" } */ /* { dg-require-effective-target untyped_assembly } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.c-torture/compile/pr51694.c b/gcc/testsuite/gcc.c-torture/compile/pr51694.c index 9eddc0b..00e6ea3 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr51694.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr51694.c @@ -1,6 +1,6 @@ /* { dg-require-effective-target untyped_assembly } */ /* { dg-require-effective-target indirect_calls } */ -/* { dg-additional-options "-fpermissive" } */ +/* { dg-additional-options "-std=gnu17 -fpermissive" } */ void foo (x, fn) diff --git a/gcc/testsuite/gcc.c-torture/compile/pr71109.c b/gcc/testsuite/gcc.c-torture/compile/pr71109.c index b44ba07..fae98fb 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr71109.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr71109.c @@ -1,4 +1,5 @@ /* PR tree-optimization/71109 */ +/* { dg-additional-options "-std=gnu17" } */ /* { dg-require-effective-target non_strict_prototype } */ struct S { int g, h; signed char i; int j; signed char k; int l[4]; } a, c; diff --git a/gcc/testsuite/gcc.c-torture/compile/pr83051-2.c b/gcc/testsuite/gcc.c-torture/compile/pr83051-2.c index 4718a27..3d49ed8 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr83051-2.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr83051-2.c @@ -1,4 +1,4 @@ -/* { dg-options "-fno-early-inlining" } */ +/* { dg-options "-std=gnu17 -fno-early-inlining" } */ /* { dg-require-effective-target non_strict_prototype } */ void diff --git a/gcc/testsuite/gcc.c-torture/compile/pr89663-1.c b/gcc/testsuite/gcc.c-torture/compile/pr89663-1.c index 659925d..13ffa90 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr89663-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr89663-1.c @@ -1,4 +1,5 @@ /* PR middle-end/89663 */ +/* { dg-additional-options "-std=gnu17" } */ /* { dg-require-effective-target non_strict_prototype } */ int irint (); diff --git a/gcc/testsuite/gcc.c-torture/compile/pr94238.c b/gcc/testsuite/gcc.c-torture/compile/pr94238.c index 5a96a64..0d32ceb 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr94238.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr94238.c @@ -1,3 +1,5 @@ +/* { dg-additional-options "-std=gnu17" } */ + enum { false, true } a; int b, c, d, e, f; int fn3(); diff --git a/gcc/testsuite/gcc.c-torture/compile/pr96796.c b/gcc/testsuite/gcc.c-torture/compile/pr96796.c index debbe62..8deee01 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr96796.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr96796.c @@ -1,4 +1,4 @@ -/* { dg-additional-options "-fpermissive -fcommon" } */ +/* { dg-additional-options "-std=gnu17 -fpermissive -fcommon" } */ /* { dg-require-effective-target non_strict_prototype } */ struct S0 { diff --git a/gcc/testsuite/gcc.c-torture/compile/pr97576.c b/gcc/testsuite/gcc.c-torture/compile/pr97576.c index d281613..4bcadab 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr97576.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr97576.c @@ -1,3 +1,4 @@ +/* { dg-additional-options "-std=gnu17" } */ /* { dg-require-effective-target non_strict_prototype } */ void diff --git a/gcc/testsuite/gcc.c-torture/compile/udivmod4.c b/gcc/testsuite/gcc.c-torture/compile/udivmod4.c index 9d98a3d..5297dc9 100644 --- a/gcc/testsuite/gcc.c-torture/compile/udivmod4.c +++ b/gcc/testsuite/gcc.c-torture/compile/udivmod4.c @@ -1,4 +1,4 @@ -/* { dg-additional-options "-fpermissive" } */ +/* { dg-additional-options "-std=gnu17 -fpermissive" } */ long long xlrandom () |