Merge dg-options and dg-additional-options if len <= 120 chars.
authorMartin Liska <mliska@suse.cz>
Wed, 15 Apr 2020 06:49:45 +0000 (08:49 +0200)
committerMartin Liska <mliska@suse.cz>
Tue, 5 May 2020 14:01:36 +0000 (16:01 +0200)
gcc/testsuite/ChangeLog:

2020-04-15  Martin Liska  <mliska@suse.cz>

* g++.dg/concepts/diagnostic1.C: Merge dg-options and
dg-additional-options if len <= 120 chars.
* g++.dg/cpp1y/new1.C: Likewise.
* g++.dg/cpp1y/new2.C: Likewise.
* g++.dg/debug/dwarf2/pr61433.C: Likewise.
* g++.dg/init/new18.C: Likewise.
* g++.dg/ipa/devirt-19.C: Likewise.
* g++.dg/ipa/devirt-52.C: Likewise.
* g++.dg/ipa/pr44372.C: Likewise.
* g++.dg/ipa/pr58371.C: Likewise.
* g++.dg/ipa/pr63587-2.C: Likewise.
* g++.dg/ipa/pr78211.C: Likewise.
* g++.dg/opt/dump1.C: Likewise.
* g++.dg/opt/pr44919.C: Likewise.
* g++.dg/opt/pr47615.C: Likewise.
* g++.dg/opt/pr82159-2.C: Likewise.
* g++.dg/other/pr52048.C: Likewise.
* g++.dg/pr57662.C: Likewise.
* g++.dg/pr59510.C: Likewise.
* g++.dg/pr67989.C: Likewise.
* g++.dg/pr81194.C: Likewise.
* g++.dg/template/canon-type-8.C: Likewise.
* g++.dg/template/crash107.C: Likewise.
* g++.dg/template/show-template-tree-3.C: Likewise.
* g++.dg/tm/cgraph_edge.C: Likewise.
* g++.dg/torture/20141013.C: Likewise.
* g++.dg/torture/pr34641.C: Likewise.
* g++.dg/torture/pr34850.C: Likewise.
* g++.dg/torture/pr36745.C: Likewise.
* g++.dg/torture/pr40991.C: Likewise.
* g++.dg/torture/pr48271.C: Likewise.
* g++.dg/torture/pr53602.C: Likewise.
* g++.dg/torture/pr53752.C: Likewise.
* g++.dg/torture/pr54838.C: Likewise.
* g++.dg/torture/pr58252.C: Likewise.
* g++.dg/tree-ssa/pr22444.C: Likewise.
* g++.dg/tree-ssa/pr24351-3.C: Likewise.
* g++.dg/tree-ssa/pr27283.C: Likewise.
* g++.dg/tree-ssa/pr27291.C: Likewise.
* g++.dg/tree-ssa/pr27548.C: Likewise.
* g++.dg/tree-ssa/pr42337.C: Likewise.
* g++.dg/ubsan/pr65583.C: Likewise.
* g++.old-deja/g++.robertl/eb27.C: Likewise.
* gcc.dg/tree-ssa/dse-points-to.c: Likewise.
* gcc.target/arm/simd/vmmla_1.c: Likewise.
* gcc.target/i386/vect-pr67800.c: Likewise.
* gcc.target/mips/cfgcleanup-jalr2.c: Likewise.
* gcc.target/mips/cfgcleanup-jalr3.c: Likewise.

47 files changed:
gcc/testsuite/g++.dg/concepts/diagnostic1.C
gcc/testsuite/g++.dg/cpp1y/new1.C
gcc/testsuite/g++.dg/cpp1y/new2.C
gcc/testsuite/g++.dg/debug/dwarf2/pr61433.C
gcc/testsuite/g++.dg/init/new18.C
gcc/testsuite/g++.dg/ipa/devirt-19.C
gcc/testsuite/g++.dg/ipa/devirt-52.C
gcc/testsuite/g++.dg/ipa/pr44372.C
gcc/testsuite/g++.dg/ipa/pr58371.C
gcc/testsuite/g++.dg/ipa/pr63587-2.C
gcc/testsuite/g++.dg/ipa/pr78211.C
gcc/testsuite/g++.dg/opt/dump1.C
gcc/testsuite/g++.dg/opt/pr44919.C
gcc/testsuite/g++.dg/opt/pr47615.C
gcc/testsuite/g++.dg/opt/pr82159-2.C
gcc/testsuite/g++.dg/other/pr52048.C
gcc/testsuite/g++.dg/pr57662.C
gcc/testsuite/g++.dg/pr59510.C
gcc/testsuite/g++.dg/pr67989.C
gcc/testsuite/g++.dg/pr81194.C
gcc/testsuite/g++.dg/template/canon-type-8.C
gcc/testsuite/g++.dg/template/crash107.C
gcc/testsuite/g++.dg/template/show-template-tree-3.C
gcc/testsuite/g++.dg/tm/cgraph_edge.C
gcc/testsuite/g++.dg/torture/20141013.C
gcc/testsuite/g++.dg/torture/pr34641.C
gcc/testsuite/g++.dg/torture/pr34850.C
gcc/testsuite/g++.dg/torture/pr36745.C
gcc/testsuite/g++.dg/torture/pr40991.C
gcc/testsuite/g++.dg/torture/pr48271.C
gcc/testsuite/g++.dg/torture/pr53602.C
gcc/testsuite/g++.dg/torture/pr53752.C
gcc/testsuite/g++.dg/torture/pr54838.C
gcc/testsuite/g++.dg/torture/pr58252.C
gcc/testsuite/g++.dg/tree-ssa/pr22444.C
gcc/testsuite/g++.dg/tree-ssa/pr24351-3.C
gcc/testsuite/g++.dg/tree-ssa/pr27283.C
gcc/testsuite/g++.dg/tree-ssa/pr27291.C
gcc/testsuite/g++.dg/tree-ssa/pr27548.C
gcc/testsuite/g++.dg/tree-ssa/pr42337.C
gcc/testsuite/g++.dg/ubsan/pr65583.C
gcc/testsuite/g++.old-deja/g++.robertl/eb27.C
gcc/testsuite/gcc.dg/tree-ssa/dse-points-to.c
gcc/testsuite/gcc.target/arm/simd/vmmla_1.c
gcc/testsuite/gcc.target/i386/vect-pr67800.c
gcc/testsuite/gcc.target/mips/cfgcleanup-jalr2.c
gcc/testsuite/gcc.target/mips/cfgcleanup-jalr3.c

index c6589e2e67189e672ca4ad71f1cab4ec5f471227..29c78c4c730fb10e44c3c399a9f6006b675651e6 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/67159
 // { dg-do compile { target c++17_only } }
-// { dg-options "-fconcepts" }
-// { dg-additional-options "-fconcepts-diagnostics-depth=2" }
+// { dg-options "-fconcepts -fconcepts-diagnostics-depth=2" }
 
 template <class T, class U>
 concept bool SameAs = __is_same_as(T, U);
index 7016951b46fc5c7e3b347cf97ba017fbb8229958..aa5f647d535cf0c3e7de61167c9fb62048217ad3 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-cddce-details" } */
-// { dg-additional-options "-fdelete-null-pointer-checks" }
+/* { dg-options "-O2 -fdump-tree-cddce-details -fdelete-null-pointer-checks" } */
 
 #include <stdlib.h>
 
index 97f4001d5d737988e46c38d7c1bf0698c1a20360..cdcbd7daf2b9c179d0f38bc58ae4c3978bfc7ef0 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -std=c++17 -fdump-tree-cddce-details" } */
-/* { dg-additional-options "-fdelete-null-pointer-checks" } */
+/* { dg-options "-O2 -std=c++17 -fdump-tree-cddce-details -fdelete-null-pointer-checks" } */
 
 #include <cstdio>
 #include <cstdlib>
index 12181d0fdb0a274afdb038ce0dcaae30d7998929..8b25475d25bc1d582cec19164d544e0279816c02 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/61433
 // { dg-do compile { target c++11 } }
-// { dg-options "-O -fcompare-debug -fno-inline -fno-ipa-pure-const -fipa-sra" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-O -fcompare-debug -fno-inline -fno-ipa-pure-const -fipa-sra -Wno-return-type" }
 
 template <class T>
 struct A
index 5f07aaa40d03e07679ea2cab348e09314b3d3658..afe3da9b53e640a6fc23295db7b2701378b6da6d 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do compile }
-// { dg-options "-O2 -fstrict-aliasing" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-O2 -fstrict-aliasing -Wno-return-type" }
 
 // This caused an ICE during placement new.
 
index f35bc32f85b3e4826e294c8389ddd5625a1df092..c14b969a26f39c8335c7b2d6770bae29f85ec110 100644 (file)
@@ -2,8 +2,7 @@
    Previously we were failing by considering CLOBBER statement to be
    a type change.  */
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-ipa-cp -fipa-cp-clone"  } */
-/* { dg-additional-options "-Wno-return-type"  } */
+/* { dg-options "-O2 -fdump-ipa-cp -fipa-cp-clone -Wno-return-type"  } */
 
 struct A {
   void operator==(const A &);
index 5c736c4037a160969857122dcb11bf35b0590a9e..1c6aa3e789ba078bae26b612d9fc2eeb95e63854 100644 (file)
@@ -1,7 +1,6 @@
 // PR middle-end/77259
 // { dg-do compile { target c++11 } }
-// { dg-options "-O2" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-O2 -Wno-return-type" }
 
 template <typename, typename = int> class A;
 template <typename, typename> struct A
index dbdd865cfb645ed2258a535d3c8feee6fe5dba89..539f32ba7a3d972b45a7e2d46bcee65e180fe493 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O -fipa-cp -fipa-cp-clone" } */
-/* { dg-additional-options "-Wno-return-type" } */
+/* { dg-options "-O -fipa-cp -fipa-cp-clone -Wno-return-type" } */
 
 template < typename > class S3;
 
index cfcf677e3d0b531b2c1122920d26a9ce4987a7da..02c14fa6fe668d3c966e94ac304da4062422e011 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2" } */
-/* { dg-additional-options "-Wno-return-type" } */
+/* { dg-options "-O2 -Wno-return-type" } */
 
 
 typedef int size_t;
index 7a9b2454507f09d2cb0d8f47dd42cb501d7df17a..559a94a5438abab86c632ee1adda7c85a5e75d15 100644 (file)
@@ -1,7 +1,6 @@
 // PR ipa/63587
 // { dg-do compile { target c++11 } }
-// { dg-options "-O2" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-O2 -Wno-return-type" }
 
 namespace boost {
 class basic_cstring
index 510fca573de6f68e77a415b854354a3d4dc24d5b..ac8c893334e12c1b9b648dc2194c449852a37920 100644 (file)
@@ -1,7 +1,6 @@
 // PR lto/78211
 // { dg-do compile { target { lto && c++11 } } }
-// { dg-options "-fcompare-debug -fno-printf-return-value -flto -fno-use-linker-plugin -O3" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-fcompare-debug -fno-printf-return-value -flto -fno-use-linker-plugin -O3 -Wno-return-type" }
 
 namespace std {
   typedef __SIZE_TYPE__ size_t;
index 38ed055d5c651cd643a19e6b6807c290b4d67aee..75d71110022667a9bf5b78963f24bdcd09bb1f7c 100644 (file)
@@ -1,8 +1,7 @@
 // PR c++/57102
-// { dg-options "-O2 -fno-inline -fdump-final-insns" }
+// { dg-options "-O2 -fno-inline -fdump-final-insns -Wno-return-type" }
 // { dg-do compile { target c++11 } }
 // { dg-final cleanup-final-insns-dump }
-// { dg-additional-options "-Wno-return-type" }
 
 namespace std
 {
index 1916a2b359d9e996c2975cd3aef3dad8a49f2ad5..b76bb546735c428bd6abc5e1868f0980c72f2778 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } }
-// { dg-options "-O3 -fselective-scheduling2" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-O3 -fselective-scheduling2 -Wno-return-type" }
 
 namespace std {
 
index bc467b0c8834e93647a88508688c19aea1bd398a..f502e397fe4752246e39b8925186e275c4b23cbe 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do compile }
-// { dg-options "-O -fstrict-aliasing -ftree-pre -fno-tree-fre -fno-tree-sra" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-O -fstrict-aliasing -ftree-pre -fno-tree-fre -fno-tree-sra -Wno-return-type" }
 
 typedef __SIZE_TYPE__ size_t;
 namespace std 
index c9797105562e82eb943cd34625d6705436421bc4..28a3e80aabd087d5ca97a442dc6b48aa482c4329 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/82159
 // { dg-do compile }
-// { dg-options "" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options " -Wno-return-type" }
 
 template <typename T> struct D { T e; };
 struct F : D<int[0]> {
index cf388a5a04591df2f0bfdf58f6f5a6ea921b7d37..7edd283cbd2533faa23b7578097a265d512b91d6 100644 (file)
@@ -1,7 +1,6 @@
 // PR debug/52048
 // { dg-do compile }
-// { dg-options "-fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts -O2" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts -O2 -Wno-return-type" }
 
 template <typename T> struct A;
 template <typename T>
index 2180914ce4650f6fdcecce4a966c626daf3f6f79..a23bfc9f2fb90490315e658129b38e5c02b5642d 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
-/* { dg-options "-O2 -fselective-scheduling2 -fsel-sched-pipelining" } */
-/* { dg-additional-options "-Wno-return-type" } */
+/* { dg-options "-O2 -fselective-scheduling2 -fsel-sched-pipelining -Wno-return-type" } */
 
 extern "C" {
        typedef struct _IO_FILE FILE;
index 4ac5becfd26a92d5cb7d98e0565bed9aca27824b..14a6af331838dcd2ae42bee4c627e3d1de5b8c38 100644 (file)
@@ -1,7 +1,6 @@
 // PR debug/59510
 // { dg-do compile }
-// { dg-options "-O2 -g --param=large-stack-frame-growth=1" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-O2 -g --param=large-stack-frame-growth=1 -Wno-return-type" }
 
 template <typename _Iterator>
 struct _Iter_base
index 26748997fdddc6759c97c8aa888b78529aa3e07c..7967f692b03843ff663ed03324829a1aae518efd 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c++11 -O2" } */
-/* { dg-additional-options "-Wno-return-type" } */
+/* { dg-options "-std=c++11 -O2 -Wno-return-type" } */
 
 __extension__ typedef unsigned long long int uint64_t;
 namespace std __attribute__ ((__visibility__ ("default")))
index 08f6fc0f39f39994c9e67b9822433c0d0ffae4f3..b3019170d1ecfc95cb6bd66cd1e4613bea828469 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do compile { target c++17 } }
-// { dg-options "-O2 -fno-exceptions" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-O2 -fno-exceptions -Wno-return-type" }
 
 template <class a> struct b { typedef a *c; };
 class e {};
index b72bd0fb7703299ee2b13ed462f85e374cbec667..dde7d20f84cfe70ff569f4b9a58e61a46e395267 100644 (file)
@@ -1,8 +1,7 @@
 // PR c++/45984
 // We were getting different canonical types for matching types because
 // TYPE_ALIGN wasn't propagated to all the variants fast enough.
-// { dg-options "" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-Wno-return-type" }
 
 typedef __SIZE_TYPE__ size_t;
 enum { chunk_size = 16 };
index 9d8d394d93d72f2ffdb7698c7ce5d108fcaca731..932a3a680592e9780e884be59efd3c9a86d39f17 100644 (file)
@@ -1,7 +1,6 @@
 // PR c++/44625
 // { dg-do compile }
-// { dg-options "" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-Wno-return-type" }
 
 template<typename FP_> struct Vec { // { dg-message "note" "" { target c++17_down } }
     Vec& operator^=(Vec& rhs)     {
index 7bb93ba4f6011cb2b2ad01b0d27c3237db30b0ad..ef3113711aee57fec5c3f48ac84b953ee49e7e74 100644 (file)
@@ -8,8 +8,7 @@
    (again, with the "double" and "float" highlighted, though we can't test
    for that in this case).  */
 
-// { dg-options "-fdiagnostics-show-template-tree" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-fdiagnostics-show-template-tree -Wno-return-type" }
 
 #include <map>
 #include <vector>
index b2649e8f521a9e67f1e20cfb4f3c780b5f0b06b7..1a6138bd449a9ec00c0ed88ac3083cbbcee73c37 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do compile }
-// { dg-options "-fgnu-tm -O3" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-fgnu-tm -O3 -Wno-return-type" }
 
 template<typename _InputIterator, typename _Distance>  inline void advance(_InputIterator& __i, _Distance __n)
   {
index e6c83ffab2184bd0bcc0d42aa2dae22f021cdf63..fea70ec7ea54ae5267280d9dc18f589eefc9e90d 100644 (file)
@@ -1,5 +1,4 @@
-/* { dg-options "-fno-short-enums" } */
-/* { dg-additional-options "-Wno-return-type" } */
+/* { dg-options "-fno-short-enums -Wno-return-type" } */
 enum
 {
   _sch_isdigit = 0x0004,
index 72a98ad8f461ac8f8fcce08a3c447dcc15f337ab..44f2d5c58ee6de5737f7525568f855b6aea5542e 100644 (file)
@@ -1,8 +1,7 @@
 // { dg-do compile }
 // { dg-require-effective-target fpic }
 // { dg-require-visibility "" }
-// { dg-options "-fPIC" }
-/* { dg-additional-options "-Wno-return-type" } */
+// { dg-options "-fPIC -Wno-return-type" }
 
 
 typedef __SIZE_TYPE__ size_t;
index 60a6c6ae57dc8c078e7050b99dceb814f14941a6..c4d808c5a0d0451b84fc9da55140acaab74ade9e 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do compile } */
 /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
-/* { dg-options "-ffat-lto-objects" } */
-/* { dg-additional-options "-Wno-return-type" } */
+/* { dg-options "-ffat-lto-objects -Wno-return-type" } */
 
 typedef unsigned char uint8_t;
 typedef unsigned int uint32_t;
index 56fa9d8028da68d4e19ccd18200fedb3b611447e..b1ff2995db924e3e37cb83085ef5b4776a9a7ca7 100644 (file)
@@ -1,7 +1,6 @@
 /* PR target/36745 */
 /* { dg-do compile } */
-/* { dg-options "-O2 -fPIC" } */
-/* { dg-additional-options "-Wno-return-type" } */
+/* { dg-options "-O2 -fPIC -Wno-return-type" } */
 /* { dg-require-effective-target fpic } */
 
 typedef __SIZE_TYPE__ size_t;
index bce5f7e6893acf93fa73c1e09e4dda6bd136f68e..f314ebc58211516168db12568b84d0fb1526af3b 100644 (file)
@@ -1,5 +1,4 @@
-/* { dg-options "-std=gnu++0x" } */
-/* { dg-additional-options "-Wno-return-type" } */
+/* { dg-options "-std=gnu++0x -Wno-return-type" } */
 
 typedef __SIZE_TYPE__ size_t;
 namespace std __attribute__ ((__visibility__ ("default"))) {
index 2e3eb5bfd05b9a2f7745560944fcead0b4670373..917814eedbc332b5e8074c137d1574597ab40273 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do compile }
-// { dg-options "-ftree-vrp -fno-guess-branch-probability -fnon-call-exceptions" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-ftree-vrp -fno-guess-branch-probability -fnon-call-exceptions -Wno-return-type" }
 
 void *xalloc ();
 void xfree (void *);
index 67d9ed848f03a4a67d0a534a4ab1173c239796cf..d84a940ccc5d36887ecf3354ac1dcdb2e6f539e0 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do compile }
-// { dg-options "-std=c++11" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-std=c++11 -Wno-return-type" }
 
 namespace std
 {
index 61febdeb6b8e9d6ce71be7da6a6574ba46b9f320..fe0459e3839164a5a10e18f97b0b0db913eec2cd 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do compile }
-// { dg-options "-g" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-g -Wno-return-type" }
 
 typedef unsigned int uint32_t;
 typedef unsigned long int uint64_t;
index c3308210ebe83c9c49f9d081b29d0171aa8cbc56..63804ba8cbdc1db75fe2e065909629bb070cd0de 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do compile }
-// { dg-options "-ftracer -fno-tree-dce -fno-tree-sra" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-ftracer -fno-tree-dce -fno-tree-sra -Wno-return-type" }
 
 struct bidirectional_iterator_tag
 {};
index db3270d9afb8aba453397625e408c8ba6f5edfe2..0e5529d5b37fcadab9244356e88d5bec1953f37f 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do compile }
-// { dg-options "-fpermissive" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-fpermissive -Wno-return-type" }
 typedef long unsigned int size_t;
        typedef bool _CORBA_Boolean;
          typedef unsigned int _CORBA_ULong;
index 04bf2009cbef7f6e767b0a6370d7dbbfe143b69e..ca081ca1af87c166123ffb63d301368ed658ba63 100644 (file)
@@ -3,8 +3,7 @@
 // to the addressable vars list, because this may cause false aliasing
 // with the subvars leading to the subvars not being renamed when they should
 // { dg-do compile }
-// { dg-options "-O2" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-O2 -Wno-return-type" }
 __extension__ typedef __PTRDIFF_TYPE__ ptrdiff_t;
 __extension__ typedef __SIZE_TYPE__ size_t;
 namespace std
index f3aaee8528696b8e4ef558304c0fb060fc8bdae4..af8576f7584aff53f7e2011aa747f0d04dce17c8 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2" } */
-// { dg-additional-options "-Wno-return-type" }
+/* { dg-options "-O2 -Wno-return-type" } */
 namespace sigc {
     template <class T_type>     struct type_trait     {
        typedef T_type& pass;
index 1623d289a20431d7a21e508fbeb9bdecbb53979f..78b77f05adf782da2ad411e96e7e74a726d1e11a 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2" } */
-/* { dg-additional-options "-Wno-return-type" } */
+/* { dg-options "-O2 -Wno-return-type" } */
 
 namespace Gambit
 {
index 24f440dde063b6fe14ee0d1ba088bcb5e716252e..c5407c5bff6952dadc65264728a9c61f6bac0b4b 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2" } */
-/* { dg-additional-options "-Wno-return-type" } */
+/* { dg-options "-O2 -Wno-return-type" } */
 
 namespace std
 {
index cbe7929aefea3a3d3b43e8a54665b0340f2e162a..c5a6fe184d63048f05a8bef876293c4e28a13633 100644 (file)
@@ -1,7 +1,6 @@
 // PR tree-optimization/27548
 // { dg-do compile }
-// { dg-options "-O1" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-O1 -Wno-return-type" }
 
 namespace Gambit
 {
index 61beb73701897a6537c011d38f98f944d9f1920f..a05ba4f8d751ac1ba5e792ba261b31e604ab43f5 100644 (file)
@@ -1,7 +1,6 @@
 // PR tree-optimize/42337
 // { dg-do compile }
-// { dg-options "-O2" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-O2 -Wno-return-type" }
 
 template<class _T1, class _T2> struct pair {
   _T2 second;
index 02acb361a22787953b0c9da482f65379583ca966..1aae6f4a10649ba479337b496f01299c564ef2b9 100644 (file)
@@ -1,7 +1,6 @@
 // PR sanitizer/65583
 // { dg-do compile }
-// { dg-options "-std=c++11 -fsanitize=undefined" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-std=c++11 -fsanitize=undefined -Wno-return-type" }
 
 namespace std
 {
index 2fe151cea7dd79a1f71c87ed3360f6ef2f6f5a31..0df2e10ae793a3af2945127291efde3e9859e992 100644 (file)
@@ -1,6 +1,5 @@
 // { dg-do assemble  }
-// { dg-options "-Wno-deprecated" }
-// { dg-additional-options "-Wno-return-type" }
+// { dg-options "-Wno-deprecated -Wno-return-type" }
 /* bug.cc */
 /* simple program to demonstrate the bug with named return values in gcc
 */
index 8003556474d0288f592f0d32b55bf92d7937cd9a..762d672014338ab8d3ff95f5e4aa5734965828be 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -fno-tree-ccp -fno-tree-forwprop -fno-tree-fre -fno-tree-vrp" } */
-/* { dg-additional-options "-fdump-tree-dse1-details" } */
+/* { dg-options "-O2 -fno-tree-ccp -fno-tree-forwprop -fno-tree-fre -fno-tree-vrp -fdump-tree-dse1-details" } */
 
 int
 f ()
index b766a9141cee971445dbba72a71985a6a60ef428..fa512d905e2d473f596c67cef09fc1791fa30d25 100644 (file)
@@ -1,7 +1,6 @@
 /* { dg-do assemble } */
 /* { dg-require-effective-target arm_v8_2a_i8mm_ok } */
-/* { dg-options "-save-temps -O2" } */
-/* { dg-additional-options "-march=armv8.2-a+i8mm" } */
+/* { dg-options "-save-temps -O2 -march=armv8.2-a+i8mm" } */
 
 #include "arm_neon.h"
 
index 324510858ff10ec6b3bdde3f6d0d4269847def0a..8bd308c83f698aa8b018704ab33617bd8d224623 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-details" } */
-/* { dg-additional-options "-msse4.2" } */
+/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-details -msse4.2" } */
 
 #define ubyte unsigned char
 #define byte char
index 9fd75c98773a6ea8475f234e505dc2682455569a..bf22f064288899a6441f85abea574cacb7f31ec7 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-mabicalls -fpic -mno-mips16 -mno-micromips" } */
-/* { dg-additional-options "-fno-inline -fipa-ra -mcompact-branches=never" } */
+/* { dg-options "-mabicalls -fpic -mno-mips16 -mno-micromips -fno-inline -fipa-ra -mcompact-branches=never" } */
 /* { dg-skip-if "needs codesize optimization" { *-*-* } { "-O0" "-O1" "-O2" "-O3" } { "" } } */
 
 static int foo (void* p) { __asm__ (""::"r"(p):"$t0"); return 0; }
index 580c6ec069dcb4742c3b7d18547eaedade6ce384..805b31af9f085ca83de0d1abd4386620689d068c 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-mabicalls -fpic -mno-mips16 -mno-micromips" } */
-/* { dg-additional-options "-fno-inline -fipa-ra -mcompact-branches=never" } */
+/* { dg-options "-mabicalls -fpic -mno-mips16 -mno-micromips -fno-inline -fipa-ra -mcompact-branches=never" } */
 /* { dg-skip-if "needs codesize optimization" { *-*-* } { "-O0" "-O1" "-O2" "-O3" } { "" } } */
 
 static int foo (void* p) { return 0; }