Use dg-additional-options for -std={gnu99,c99}
2015-06-15 Tom de Vries <tom@codesourcery.com> * testsuite/libgomp.c/collapse-3.c: Use dg-additional-options for -std={gnu99,c99}. * testsuite/libgomp.c/for-1.c: Same. * testsuite/libgomp.c/for-2.c: Same. * testsuite/libgomp.c/for-3.c: Same. * testsuite/libgomp.c/pr35625.c: Same. * testsuite/libgomp.c/pr39154.c: Same. * testsuite/libgomp.c/simd-16.c: Same. * testsuite/libgomp.c/simd-17.c: Same. From-SVN: r224479
This commit is contained in:
parent
1792349b0b
commit
0d8a9e2065
9 changed files with 20 additions and 8 deletions
|
@ -1,3 +1,15 @@
|
|||
2015-06-15 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* testsuite/libgomp.c/collapse-3.c: Use dg-additional-options for
|
||||
-std={gnu99,c99}.
|
||||
* testsuite/libgomp.c/for-1.c: Same.
|
||||
* testsuite/libgomp.c/for-2.c: Same.
|
||||
* testsuite/libgomp.c/for-3.c: Same.
|
||||
* testsuite/libgomp.c/pr35625.c: Same.
|
||||
* testsuite/libgomp.c/pr39154.c: Same.
|
||||
* testsuite/libgomp.c/simd-16.c: Same.
|
||||
* testsuite/libgomp.c/simd-17.c: Same.
|
||||
|
||||
2015-06-13 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c: New test.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-options "-O2 -std=gnu99" } */
|
||||
/* { dg-additional-options "-std=gnu99" } */
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* { dg-options "-std=gnu99 -fopenmp" } */
|
||||
/* { dg-additional-options "-std=gnu99" } */
|
||||
|
||||
extern void abort (void);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* { dg-options "-std=gnu99 -fopenmp" } */
|
||||
/* { dg-additional-options "-std=gnu99" } */
|
||||
|
||||
extern void abort (void);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* { dg-options "-std=gnu99 -fopenmp" } */
|
||||
/* { dg-additional-options "-std=gnu99" } */
|
||||
|
||||
extern void abort ();
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* PR libgomp/35625 */
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "-std=c99" } */
|
||||
/* { dg-aditional-options "-std=c99" } */
|
||||
|
||||
int
|
||||
main (void)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* PR middle-end/39154 */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -std=gnu99" } */
|
||||
/* { dg-additional-options "-std=gnu99" } */
|
||||
|
||||
extern void abort (void);
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-options "-O2 -std=c99" } */
|
||||
/* { dg-additional-options "-msse2" { target sse2_runtime } } */
|
||||
/* { dg-additional-options "-mavx" { target avx_runtime } } */
|
||||
/* { dg-additional-options "-std=c99" } */
|
||||
|
||||
int
|
||||
main ()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-options "-O2 -std=c99" } */
|
||||
/* { dg-additional-options "-msse2" { target sse2_runtime } } */
|
||||
/* { dg-additional-options "-mavx" { target avx_runtime } } */
|
||||
/* { dg-additional-options "-std=c99" } */
|
||||
|
||||
static inline void
|
||||
foo (int *b, int *i, int *j, int x)
|
||||
|
|
Loading…
Add table
Reference in a new issue