Commit ca431bef by Tom de Vries Committed by Tom de Vries

Remove -fopenmp in dg-options in libgomp.c

2015-06-15  Tom de Vries  <tom@codesourcery.com>

	* testsuite/libgomp.c/atomic-18.c: Remove superfluous -fopenmp setting
	in dg-options.
	* testsuite/libgomp.c/atomic-3.c: Same.
	* testsuite/libgomp.c/debug-1.c: Same.
	* testsuite/libgomp.c/nqueens-1.c: Same.
	* testsuite/libgomp.c/pr26171.c: Same.
	* testsuite/libgomp.c/pr48591.c: Same.
	* testsuite/libgomp.c/pr64824.c: Same.
	* testsuite/libgomp.c/pr64868.c: Same.
	* testsuite/libgomp.c/pr66133.c: Same.
	* testsuite/libgomp.c/pr66199-1.c: Same.
	* testsuite/libgomp.c/pr66199-2.c: Same.
	* testsuite/libgomp.c/target-8.c: Same.

From-SVN: r224480
parent 0d8a9e20
2015-06-15 Tom de Vries <tom@codesourcery.com> 2015-06-15 Tom de Vries <tom@codesourcery.com>
* testsuite/libgomp.c/atomic-18.c: Remove superfluous -fopenmp setting
in dg-options.
* testsuite/libgomp.c/atomic-3.c: Same.
* testsuite/libgomp.c/debug-1.c: Same.
* testsuite/libgomp.c/nqueens-1.c: Same.
* testsuite/libgomp.c/pr26171.c: Same.
* testsuite/libgomp.c/pr48591.c: Same.
* testsuite/libgomp.c/pr64824.c: Same.
* testsuite/libgomp.c/pr64868.c: Same.
* testsuite/libgomp.c/pr66133.c: Same.
* testsuite/libgomp.c/pr66199-1.c: Same.
* testsuite/libgomp.c/pr66199-2.c: Same.
* testsuite/libgomp.c/target-8.c: Same.
2015-06-15 Tom de Vries <tom@codesourcery.com>
* testsuite/libgomp.c/collapse-3.c: Use dg-additional-options for * testsuite/libgomp.c/collapse-3.c: Use dg-additional-options for
-std={gnu99,c99}. -std={gnu99,c99}.
* testsuite/libgomp.c/for-1.c: Same. * testsuite/libgomp.c/for-1.c: Same.
......
/* PR c/64824 */ /* PR c/64824 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-O2 -fopenmp" } */
void void
f1 (void) f1 (void)
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-fopenmp -O0" } */ /* { dg-options "-O0" } */
#include <omp.h> #include <omp.h>
#include <stdlib.h> #include <stdlib.h>
......
/* PR debug/36617 */ /* PR debug/36617 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-g -fopenmp -O0" } */ /* { dg-options "-g -O0" } */
int int
f1 (void) f1 (void)
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-O2 -fopenmp" } */
/* { dg-require-effective-target tls_runtime } */ /* { dg-require-effective-target tls_runtime } */
#include <omp.h> #include <omp.h>
......
/* PR c/26171 */ /* PR c/26171 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-fopenmp" } */ /* { dg-options "-O0" } */
/* { dg-require-effective-target tls_runtime } */ /* { dg-require-effective-target tls_runtime } */
int thrv = 0; int thrv = 0;
......
/* PR middle-end/48591 */ /* PR middle-end/48591 */
/* { dg-do run { target i?86-*-linux* i?86-*-gnu* x86_64-*-linux* ia64-*-linux* x86_64-*-freebsd* } } */ /* { dg-do run { target i?86-*-linux* i?86-*-gnu* x86_64-*-linux* ia64-*-linux* x86_64-*-freebsd* } } */
/* { dg-options "-fopenmp" } */ /* { dg-options "-O0" } */
extern void abort (void); extern void abort (void);
......
/* PR c/64824 */ /* PR c/64824 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-O2 -fopenmp" } */
int int
main () main ()
......
/* PR c/64868 */ /* PR c/64868 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-O2 -fopenmp" } */
float f = 2.0f; float f = 2.0f;
double d = 4.0; double d = 4.0;
......
/* PR middle-end/66133 */ /* PR middle-end/66133 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-O2 -fopenmp" } */
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
......
/* PR middle-end/66199 */ /* PR middle-end/66199 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-O2 -fopenmp" } */
int u[1024], v[1024], w[1024]; int u[1024], v[1024], w[1024];
......
/* PR middle-end/66199 */ /* PR middle-end/66199 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-O2 -fopenmp" } */
#pragma omp declare target #pragma omp declare target
int u[1024], v[1024], w[1024]; int u[1024], v[1024], w[1024];
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-fopenmp" } */
void void
foo (int *p) foo (int *p)
......
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