From: Tom de Vries Date: Mon, 15 Jun 2015 13:26:12 +0000 (+0000) Subject: Remove -fopenmp in dg-options in libgomp.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca431befaa6762e2eb331c4df66bc6ec8e87e768;p=gcc.git Remove -fopenmp in dg-options in libgomp.c 2015-06-15 Tom de Vries * 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 --- diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index bf3ec49cece..e2d022f7e3b 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,19 @@ +2015-06-15 Tom de Vries + + * 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 * testsuite/libgomp.c/collapse-3.c: Use dg-additional-options for diff --git a/libgomp/testsuite/libgomp.c/atomic-18.c b/libgomp/testsuite/libgomp.c/atomic-18.c index bd048c1094c..4f7361e54e3 100644 --- a/libgomp/testsuite/libgomp.c/atomic-18.c +++ b/libgomp/testsuite/libgomp.c/atomic-18.c @@ -1,6 +1,5 @@ /* PR c/64824 */ /* { dg-do run } */ -/* { dg-options "-O2 -fopenmp" } */ void f1 (void) diff --git a/libgomp/testsuite/libgomp.c/atomic-3.c b/libgomp/testsuite/libgomp.c/atomic-3.c index 5b8fdc1a79e..818242d73c0 100644 --- a/libgomp/testsuite/libgomp.c/atomic-3.c +++ b/libgomp/testsuite/libgomp.c/atomic-3.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-fopenmp -O0" } */ +/* { dg-options "-O0" } */ #include #include diff --git a/libgomp/testsuite/libgomp.c/debug-1.c b/libgomp/testsuite/libgomp.c/debug-1.c index 09bcf7f3cc1..8fa9b548a14 100644 --- a/libgomp/testsuite/libgomp.c/debug-1.c +++ b/libgomp/testsuite/libgomp.c/debug-1.c @@ -1,6 +1,6 @@ /* PR debug/36617 */ /* { dg-do run } */ -/* { dg-options "-g -fopenmp -O0" } */ +/* { dg-options "-g -O0" } */ int f1 (void) diff --git a/libgomp/testsuite/libgomp.c/nqueens-1.c b/libgomp/testsuite/libgomp.c/nqueens-1.c index 9742b7a18df..db5517f1233 100644 --- a/libgomp/testsuite/libgomp.c/nqueens-1.c +++ b/libgomp/testsuite/libgomp.c/nqueens-1.c @@ -1,5 +1,4 @@ /* { dg-do run } */ -/* { dg-options "-O2 -fopenmp" } */ /* { dg-require-effective-target tls_runtime } */ #include diff --git a/libgomp/testsuite/libgomp.c/pr26171.c b/libgomp/testsuite/libgomp.c/pr26171.c index eacc9a71d3e..322a0c75689 100644 --- a/libgomp/testsuite/libgomp.c/pr26171.c +++ b/libgomp/testsuite/libgomp.c/pr26171.c @@ -1,6 +1,6 @@ /* PR c/26171 */ /* { dg-do run } */ -/* { dg-options "-fopenmp" } */ +/* { dg-options "-O0" } */ /* { dg-require-effective-target tls_runtime } */ int thrv = 0; diff --git a/libgomp/testsuite/libgomp.c/pr48591.c b/libgomp/testsuite/libgomp.c/pr48591.c index 8df97f1554b..2f617afcc81 100644 --- a/libgomp/testsuite/libgomp.c/pr48591.c +++ b/libgomp/testsuite/libgomp.c/pr48591.c @@ -1,6 +1,6 @@ /* PR middle-end/48591 */ /* { 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); diff --git a/libgomp/testsuite/libgomp.c/pr64824.c b/libgomp/testsuite/libgomp.c/pr64824.c index 544d0b0fc1f..b39675b9524 100644 --- a/libgomp/testsuite/libgomp.c/pr64824.c +++ b/libgomp/testsuite/libgomp.c/pr64824.c @@ -1,6 +1,5 @@ /* PR c/64824 */ /* { dg-do run } */ -/* { dg-options "-O2 -fopenmp" } */ int main () diff --git a/libgomp/testsuite/libgomp.c/pr64868.c b/libgomp/testsuite/libgomp.c/pr64868.c index acdf9984108..f93caf2091c 100644 --- a/libgomp/testsuite/libgomp.c/pr64868.c +++ b/libgomp/testsuite/libgomp.c/pr64868.c @@ -1,6 +1,5 @@ /* PR c/64868 */ /* { dg-do run } */ -/* { dg-options "-O2 -fopenmp" } */ float f = 2.0f; double d = 4.0; diff --git a/libgomp/testsuite/libgomp.c/pr66133.c b/libgomp/testsuite/libgomp.c/pr66133.c index e98e5aac412..90685cd81b6 100644 --- a/libgomp/testsuite/libgomp.c/pr66133.c +++ b/libgomp/testsuite/libgomp.c/pr66133.c @@ -1,6 +1,5 @@ /* PR middle-end/66133 */ /* { dg-do run } */ -/* { dg-options "-O2 -fopenmp" } */ #include #include diff --git a/libgomp/testsuite/libgomp.c/pr66199-1.c b/libgomp/testsuite/libgomp.c/pr66199-1.c index 6fd9f87fa24..20482a4b43d 100644 --- a/libgomp/testsuite/libgomp.c/pr66199-1.c +++ b/libgomp/testsuite/libgomp.c/pr66199-1.c @@ -1,6 +1,5 @@ /* PR middle-end/66199 */ /* { dg-do run } */ -/* { dg-options "-O2 -fopenmp" } */ int u[1024], v[1024], w[1024]; diff --git a/libgomp/testsuite/libgomp.c/pr66199-2.c b/libgomp/testsuite/libgomp.c/pr66199-2.c index dbcd701b755..ddb79de8943 100644 --- a/libgomp/testsuite/libgomp.c/pr66199-2.c +++ b/libgomp/testsuite/libgomp.c/pr66199-2.c @@ -1,6 +1,5 @@ /* PR middle-end/66199 */ /* { dg-do run } */ -/* { dg-options "-O2 -fopenmp" } */ #pragma omp declare target int u[1024], v[1024], w[1024]; diff --git a/libgomp/testsuite/libgomp.c/target-8.c b/libgomp/testsuite/libgomp.c/target-8.c index 35084575324..5fe0db95795 100644 --- a/libgomp/testsuite/libgomp.c/target-8.c +++ b/libgomp/testsuite/libgomp.c/target-8.c @@ -1,5 +1,4 @@ /* { dg-do run } */ -/* { dg-options "-fopenmp" } */ void foo (int *p)