Commit 0d8a9e20 by Tom de Vries Committed by Tom de Vries

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
parent 1792349b
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.
......
/* { dg-do run } */
/* { dg-options "-O2 -std=gnu99" } */
/* { dg-additional-options "-std=gnu99" } */
#include <string.h>
#include <stdlib.h>
......
/* { dg-options "-std=gnu99 -fopenmp" } */
/* { dg-additional-options "-std=gnu99" } */
extern void abort (void);
......
/* { dg-options "-std=gnu99 -fopenmp" } */
/* { dg-additional-options "-std=gnu99" } */
extern void abort (void);
......
/* { dg-options "-std=gnu99 -fopenmp" } */
/* { dg-additional-options "-std=gnu99" } */
extern void abort ();
......
/* PR libgomp/35625 */
/* { dg-do run } */
/* { dg-options "-std=c99" } */
/* { dg-aditional-options "-std=c99" } */
int
main (void)
......
/* PR middle-end/39154 */
/* { dg-do compile } */
/* { dg-options "-O2 -std=gnu99" } */
/* { dg-additional-options "-std=gnu99" } */
extern void abort (void);
......
/* { 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 ()
......
/* { 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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment