Remove dg-options -O2 in libgomp.c
authorTom de Vries <tom@codesourcery.com>
Mon, 15 Jun 2015 18:10:51 +0000 (18:10 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 15 Jun 2015 18:10:51 +0000 (18:10 +0000)
2015-06-15  Tom de Vries  <tom@codesourcery.com>

* testsuite/libgomp.c/atomic-1.c: Remove dg-options "-O2".  Use
dg-additional-options for any remaining options.
* testsuite/libgomp.c/atomic-2.c: Same.
* testsuite/libgomp.c/atomic-4.c: Same.
* testsuite/libgomp.c/atomic-5.c: Same.
* testsuite/libgomp.c/atomic-6.c: Same.
* testsuite/libgomp.c/autopar-1.c: Same.
* testsuite/libgomp.c/copyin-1.c: Same.
* testsuite/libgomp.c/copyin-2.c: Same.
* testsuite/libgomp.c/copyin-3.c: Same.
* testsuite/libgomp.c/examples-4/e.53.5.c: Same.
* testsuite/libgomp.c/nestedfn-5.c: Same.
* testsuite/libgomp.c/parloops-exit-first-loop-alt-2.c: Same.
* testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c: Same.
* testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c: Same.
* testsuite/libgomp.c/parloops-exit-first-loop-alt.c: Same.
* testsuite/libgomp.c/pr32362-1.c: Same.
* testsuite/libgomp.c/pr32362-2.c: Same.
* testsuite/libgomp.c/pr32362-3.c: Same.
* testsuite/libgomp.c/pr39591-1.c: Same.
* testsuite/libgomp.c/pr39591-2.c: Same.
* testsuite/libgomp.c/pr39591-3.c: Same.
* testsuite/libgomp.c/pr58392.c: Same.
* testsuite/libgomp.c/pr58756.c: Same.
* testsuite/libgomp.c/simd-1.c: Same.
* testsuite/libgomp.c/simd-10.c: Same.
* testsuite/libgomp.c/simd-11.c: Same.
* testsuite/libgomp.c/simd-12.c: Same.
* testsuite/libgomp.c/simd-13.c: Same.
* testsuite/libgomp.c/simd-14.c: Same.
* testsuite/libgomp.c/simd-15.c: Same.
* testsuite/libgomp.c/simd-2.c: Same.
* testsuite/libgomp.c/simd-3.c: Same.
* testsuite/libgomp.c/simd-4.c: Same.
* testsuite/libgomp.c/simd-5.c: Same.
* testsuite/libgomp.c/simd-6.c: Same.
* testsuite/libgomp.c/simd-7.c: Same.
* testsuite/libgomp.c/simd-8.c: Same.
* testsuite/libgomp.c/simd-9.c: Same.

From-SVN: r224489

39 files changed:
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/atomic-1.c
libgomp/testsuite/libgomp.c/atomic-2.c
libgomp/testsuite/libgomp.c/atomic-4.c
libgomp/testsuite/libgomp.c/atomic-5.c
libgomp/testsuite/libgomp.c/atomic-6.c
libgomp/testsuite/libgomp.c/autopar-1.c
libgomp/testsuite/libgomp.c/copyin-1.c
libgomp/testsuite/libgomp.c/copyin-2.c
libgomp/testsuite/libgomp.c/copyin-3.c
libgomp/testsuite/libgomp.c/examples-4/e.53.5.c
libgomp/testsuite/libgomp.c/nestedfn-5.c
libgomp/testsuite/libgomp.c/parloops-exit-first-loop-alt-2.c
libgomp/testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c
libgomp/testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c
libgomp/testsuite/libgomp.c/parloops-exit-first-loop-alt.c
libgomp/testsuite/libgomp.c/pr32362-1.c
libgomp/testsuite/libgomp.c/pr32362-2.c
libgomp/testsuite/libgomp.c/pr32362-3.c
libgomp/testsuite/libgomp.c/pr39591-1.c
libgomp/testsuite/libgomp.c/pr39591-2.c
libgomp/testsuite/libgomp.c/pr39591-3.c
libgomp/testsuite/libgomp.c/pr58392.c
libgomp/testsuite/libgomp.c/pr58756.c
libgomp/testsuite/libgomp.c/simd-1.c
libgomp/testsuite/libgomp.c/simd-10.c
libgomp/testsuite/libgomp.c/simd-11.c
libgomp/testsuite/libgomp.c/simd-12.c
libgomp/testsuite/libgomp.c/simd-13.c
libgomp/testsuite/libgomp.c/simd-14.c
libgomp/testsuite/libgomp.c/simd-15.c
libgomp/testsuite/libgomp.c/simd-2.c
libgomp/testsuite/libgomp.c/simd-3.c
libgomp/testsuite/libgomp.c/simd-4.c
libgomp/testsuite/libgomp.c/simd-5.c
libgomp/testsuite/libgomp.c/simd-6.c
libgomp/testsuite/libgomp.c/simd-7.c
libgomp/testsuite/libgomp.c/simd-8.c
libgomp/testsuite/libgomp.c/simd-9.c

index f891feb9628c520cccaaef8fa472e3575686c9fc..d7e0d368b6fcb5a598a033310b8c7fb5e88d5a7b 100644 (file)
@@ -1,3 +1,45 @@
+2015-06-15  Tom de Vries  <tom@codesourcery.com>
+
+       * testsuite/libgomp.c/atomic-1.c: Remove dg-options "-O2".  Use
+       dg-additional-options for any remaining options.
+       * testsuite/libgomp.c/atomic-2.c: Same.
+       * testsuite/libgomp.c/atomic-4.c: Same.
+       * testsuite/libgomp.c/atomic-5.c: Same.
+       * testsuite/libgomp.c/atomic-6.c: Same.
+       * testsuite/libgomp.c/autopar-1.c: Same.
+       * testsuite/libgomp.c/copyin-1.c: Same.
+       * testsuite/libgomp.c/copyin-2.c: Same.
+       * testsuite/libgomp.c/copyin-3.c: Same.
+       * testsuite/libgomp.c/examples-4/e.53.5.c: Same.
+       * testsuite/libgomp.c/nestedfn-5.c: Same.
+       * testsuite/libgomp.c/parloops-exit-first-loop-alt-2.c: Same.
+       * testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c: Same.
+       * testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c: Same.
+       * testsuite/libgomp.c/parloops-exit-first-loop-alt.c: Same.
+       * testsuite/libgomp.c/pr32362-1.c: Same.
+       * testsuite/libgomp.c/pr32362-2.c: Same.
+       * testsuite/libgomp.c/pr32362-3.c: Same.
+       * testsuite/libgomp.c/pr39591-1.c: Same.
+       * testsuite/libgomp.c/pr39591-2.c: Same.
+       * testsuite/libgomp.c/pr39591-3.c: Same.
+       * testsuite/libgomp.c/pr58392.c: Same.
+       * testsuite/libgomp.c/pr58756.c: Same.
+       * testsuite/libgomp.c/simd-1.c: Same.
+       * testsuite/libgomp.c/simd-10.c: Same.
+       * testsuite/libgomp.c/simd-11.c: Same.
+       * testsuite/libgomp.c/simd-12.c: Same.
+       * testsuite/libgomp.c/simd-13.c: Same.
+       * testsuite/libgomp.c/simd-14.c: Same.
+       * testsuite/libgomp.c/simd-15.c: Same.
+       * testsuite/libgomp.c/simd-2.c: Same.
+       * testsuite/libgomp.c/simd-3.c: Same.
+       * testsuite/libgomp.c/simd-4.c: Same.
+       * testsuite/libgomp.c/simd-5.c: Same.
+       * testsuite/libgomp.c/simd-6.c: Same.
+       * testsuite/libgomp.c/simd-7.c: Same.
+       * testsuite/libgomp.c/simd-8.c: Same.
+       * testsuite/libgomp.c/simd-9.c: Same.
+
 2015-06-15  Tom de Vries  <tom@codesourcery.com>
 
        * testsuite/libgomp.c/pr35625.c: Fix typo.
index 4725b7de2513ec8936bc5540d52cb35af1158842..1cecd09b4ff7fa420121f707db351ce0aa028bcc 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-options "-O2 -march=pentium" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
+/* { dg-additional-options "-march=pentium" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
 
 #ifdef __i386__
 #include "cpuid.h"
index c8779483b816f078d39ed90ea855927e28af72da..8a66da089b8a4c5177ac2dfa524979f6fa24fa0d 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-options "-O2 -mcx16" { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
+/* { dg-additional-options "-mcx16" { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
 
 #ifdef __x86_64__
 #include "cpuid.h"
index 10f8197b0b61d9c8cc81af299a6c4be77836b621..7157243e9337034c14af501ce4b9508c835f7866 100644 (file)
@@ -1,5 +1,4 @@
 /* PR middle-end/35611 */
-/* { dg-options "-O2" } */
 
 extern void abort (void);
 
index 168f68dd6a7d340de8541d4567681bc781d48b39..e2235ebdb4702763781164fcc25bbff91ce44070 100644 (file)
@@ -1,6 +1,5 @@
 /* PR middle-end/36106 */
-/* { dg-options "-O2" } */
-/* { dg-options "-O2 -mcx16" { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
+/* { dg-additional-options "-mcx16" { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
 
 #ifdef __x86_64__
 # include "cpuid.h"
index f8ab75e6a88a0205cca3fb3c2183157c914fc519..8f4849e59f8c428e078405ac87096bc127387223 100644 (file)
@@ -1,7 +1,6 @@
 /* PR middle-end/36106 */
-/* { dg-options "-O2" } */
-/* { dg-options "-O2 -mieee" { target alpha*-*-* } } */
-/* { dg-options "-O2 -march=i586" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
+/* { dg-additional-options "-mieee" { target alpha*-*-* } } */
+/* { dg-additional-options "-march=i586" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
 
 #ifdef __i386__
 # include "cpuid.h"
index e56549b484554ed52b52153bd83198b5652bd84a..718dda0d6e1ae467d065b3223b7e3db2a6fb1354 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-options "-ftree-parallelize-loops=4 -O2 -ffast-math" } */
+/* { dg-additional-options "-ftree-parallelize-loops=4 -ffast-math" } */
 
 extern void abort (void);
 
index 49c546004c83346bf5fcc755f1fbe1864b47ac40..90e08c7db124f7d1fe0bf9070615a1b4417bfd47 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-require-effective-target tls_runtime } */
 
 #include <omp.h>
index ae2451ef1d857df30e6b1d0939fcaf325bd15c85..a7b05973482ff8c7f37f67a3cd26d50f78b70ad3 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-require-effective-target tls_runtime } */
 
 #include <omp.h>
index 86b0d691f3a8f8223eaf451bfb122153af469a86..0a176c4a54e4a7e380ffaeab3883ecbb420fd882 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-require-effective-target tls_runtime } */
 
 #include <omp.h>
index 2b16dbed6b2739cfe6c2266e44d6ed128ab45517..b550f1ff5407c3f6e5fd7c0d1040b1e713ac0b4c 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run { target vect_simd_clones } } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index 6072b1fe369022e3467087a5ddb1d44ebc7b9694..651ce7cf5768a41b2cc679ba0e5b07d43994f69a 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 
 extern void abort (void);
 
index f20cc990e71c1bcf5121da02f85bdd580aea1d7d..a3ec7fe8ad0cd26d28805041b4a2734304f102fe 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-options "-O2 -ftree-parallelize-loops=2" } */
+/* { dg-additional-options "-ftree-parallelize-loops=2" } */
 
 /* Constant bound, vector addition.  */
 
index d55589e6df35f8752e32ef0c1b91c1e158d43b3d..43b9194d2b1500ccf4f8b961002232f7bbaf402d 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-options "-O2 -ftree-parallelize-loops=2" } */
+/* { dg-additional-options "-ftree-parallelize-loops=2" } */
 
 /* Variable bound, reduction.  */
 
index 1beae3eb11cf74469e526112786c84008c98f254..8599a89a2f03c961e5018965662dbc5af6bb341a 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-options "-O2 -ftree-parallelize-loops=2" } */
+/* { dg-additional-options "-ftree-parallelize-loops=2" } */
 
 /* Constant bound, reduction.  */
 
index f5fd3155e4dd8cb6724510cbfab4851b892d1cf3..1c32ea33f7b0bae922ff09345bdd6abf7edc391f 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-options "-O2 -ftree-parallelize-loops=2" } */
+/* { dg-additional-options "-ftree-parallelize-loops=2" } */
 
 /* Variable bound, vector addition.  */
 
index 3c62d4bdb269a2af672d5ef949dc43e04ae4f1f8..55807e33a496488c4b9f6f6a74db0960be21ae6a 100644 (file)
@@ -1,6 +1,5 @@
 /* PR middle-end/32362 */
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 
 #include <omp.h>
 #include <stdlib.h>
index 43f36e0e98be12ccaeeff4a399574b842e0e2c72..d4ce0918ef596a41802d762bb17167f44592d27f 100644 (file)
@@ -1,6 +1,5 @@
 /* PR middle-end/32362 */
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 
 #include <omp.h>
 #include <stdlib.h>
index 09a88f52a3b6fd8f7bcfa8454e9973035045ca6c..11a0a0a81dd0660b6a3363fa071e21733ff0edd3 100644 (file)
@@ -1,6 +1,5 @@
 /* PR middle-end/32362 */
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 
 #include <omp.h>
 #include <stdlib.h>
index dfd8d9e8aca60504801edeab3c01d6400c5bb1f0..df326f854249e7f20806554531c4205455b372ee 100644 (file)
@@ -1,6 +1,5 @@
 /* PR other/39591 */
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 
 extern void abort (void);
 
index b5f8f9cc7b22c5a380a31d079e8ea61778f0eae7..37428296e531c724ec4a8667666dd92998ff331a 100644 (file)
@@ -1,6 +1,5 @@
 /* PR other/39591 */
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 
 extern void abort (void);
 
index a9aeea7c83ad488f46451dd0e9fbcee66336dbf1..f09a3890f0d3fa2c501998cc1030186ee91529b9 100644 (file)
@@ -1,6 +1,5 @@
 /* PR other/39591 */
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 
 extern void abort (void);
 
index 6ca97adc2d3f2c0d892aa7db25e0004e5a1eb0e1..21ad2bf0bdb1c8b73a7a9b53d21b2ee728bf8fff 100644 (file)
@@ -1,6 +1,5 @@
 /* PR tree-optimization/58392 */
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index d35ea792e8d2394902f0f4de7ac3286ea32da20f..34877accd3a5639afcfbc9695d15e04372c7804c 100644 (file)
@@ -1,6 +1,5 @@
 /* PR libgomp/58756 */
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index 352b3b7ddd4c17245d4c8f9cc594b605671e3e63..68a409786a9d24de9a635b86061930720beca00a 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index 70cd9f0156d111fcb62e153e224e624eebcf37f4..3352e504e119c1bda94e416b131309b770aa2536 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index b09f0dde8edc0bdf02f25de737ef065f4e3e65e5..618a8b3ca04b09a4d2f19990fcc4beae64d821d0 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index 6685111a06ea1307ad9ebc8c8f9a5266bff11bc3..8f15daf82ce4022be9693e23d2fe10d8499c295f 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index 7c817b793dbe01ffb5a28dc258dabdd3d16bf0d1..df35d621835c90abffa88a866e4478a14e325ad5 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index 50e8d5e90117c108c33bb9f01ea967438814fcf7..28bdc99d11b6cbd9732805bbda3709d10c419dd9 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index e474b81fa44fea5eacd487eda6129a8699f7c15c..e75538d06e535ea07d3834dba5709b904199cde5 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index b485fcb6f6f6db511005ec68db61c8732ace87c0..0e3f17bae0bd484fdbe68b16065d144a5916358e 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index 34a388301434a07dc09dd6273a6c4ccdb038b275..7140f89ce70fe1aa310220a1a59d69ff3092a821 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index fd87c7e1fa75656ff5f16379c52841d660493056..7850cb7f3718854f93b61bbbed997d6cf12802d0 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index 0b6d41e635614617758de84a9b9e0fa250d60a4d..1205da3b93cb75f862897aa4ebc47577dffa3482 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index 896f34784f2155357d12b9dd29e170ce57ac2ea2..6daa33ee312dbeb126842805739feb43a500c9d6 100644 (file)
@@ -1,6 +1,5 @@
 /* PR libgomp/58482 */
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index ab04fee82d741eb77e4b26cff00785ef79331419..8239af950e847a46d090e82eafddc7c13313199e 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index 13f40d583625566a6c523b5ae361af031249ac34..dab3805f5a4df3b5305d59ea1702f6b47174cd8a 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */
 
index b64dd25222916c23e338a00f364479d5f3ab4a82..a7c48cbc308cad829c0797b4489bb014000ec852 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
 /* { dg-additional-options "-mavx" { target avx_runtime } } */