2007-04-24 Douglas Gregor <doug.gregor@gmail.com>
authordgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Apr 2007 21:07:22 +0000 (21:07 +0000)
committerdgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Apr 2007 21:07:22 +0000 (21:07 +0000)
       * g++.old-deja/g++.pt/defarg6.C: Only run with
       -std=gnu++98.
       * g++.old-deja/g++.pt/ucnid-1.C: Ditto.
       * g++.dg/cpp0x/variadic61.C: Ditto.
       * g++.dg/cpp0x/warn_cxx0x.C: Ditto.
       * g++.dg/cpp0x/variadic62.C: Ditto.
       * g++.dg/template/meminit1.C: Ditto.
       * g++.dg/template/operator7.C: Ditto.
       * g++.dg/template/static15.C: Ditto.
       * g++.dg/template/invalid1.C: Ditto.
       * g++.dg/template/shift1.C: Ditto.
       * g++.dg/template/error10.C: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124125 138bc75d-0d04-0410-961f-82ee72b054a4

12 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp/ucnid-1.C
gcc/testsuite/g++.dg/cpp0x/variadic61.C
gcc/testsuite/g++.dg/cpp0x/variadic62.C
gcc/testsuite/g++.dg/cpp0x/warn_cxx0x.C
gcc/testsuite/g++.dg/template/error10.C
gcc/testsuite/g++.dg/template/invalid1.C
gcc/testsuite/g++.dg/template/meminit1.C
gcc/testsuite/g++.dg/template/operator7.C
gcc/testsuite/g++.dg/template/shift1.C
gcc/testsuite/g++.dg/template/static15.C
gcc/testsuite/g++.old-deja/g++.pt/defarg6.C

index e0cb3dd..32fc7f3 100644 (file)
@@ -1,3 +1,18 @@
+2007-04-24  Douglas Gregor  <doug.gregor@gmail.com>
+
+       * g++.old-deja/g++.pt/defarg6.C: Only run with
+       -std=gnu++98.
+       * g++.old-deja/g++.pt/ucnid-1.C: Ditto.
+       * g++.dg/cpp0x/variadic61.C: Ditto.
+       * g++.dg/cpp0x/warn_cxx0x.C: Ditto.
+       * g++.dg/cpp0x/variadic62.C: Ditto.
+       * g++.dg/template/meminit1.C: Ditto.
+       * g++.dg/template/operator7.C: Ditto.
+       * g++.dg/template/static15.C: Ditto.
+       * g++.dg/template/invalid1.C: Ditto.
+       * g++.dg/template/shift1.C: Ditto.
+       * g++.dg/template/error10.C: Ditto.
+       
 2007-04-24  Simon Martin  <simartin@users.sourceforge.net>
 
        PR diagnostic/25923
index d15be4f..7a8f72a 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do preprocess } */
-/* { dg-options "-pedantic -fextended-identifiers" } */
+/* { dg-options "-std=gnu++98 -pedantic -fextended-identifiers" } */
 
 \u00AA /* { dg-error "not valid in an identifier" } */
 \u00AB /* { dg-error "not valid in an identifier" } */
index 487f78b..d06c5f6 100644 (file)
@@ -1,2 +1,2 @@
-// { dg-options "-pedantic" }
+// { dg-options "-std=gnu++98 -pedantic" }
 template<typename... Args> class tuple; // { dg-warning "variadic templates" }
index dfa41f7..010b3a5 100644 (file)
@@ -1,2 +1,2 @@
-// { dg-options "-pedantic-errors" }
+// { dg-options "-std=gnu++98 -pedantic-errors" }
 template<typename... Args> class tuple; // { dg-error "variadic templates" }
index 57dfe7b..2b84c93 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-Wc++0x-compat" }
+// { dg-options "-std=gnu++98 -Wc++0x-compat" }
 int static_assert; // { dg-warning "will become a keyword" }
 
 void foo()
index dcb4f3e..02ea64b 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile }
+// { dg-options "-std=gnu++98" }
 // Origin: <tilps at hotmail dot com>
 // c++/9154: poor error message for ">>" vs "> >" in template argument list
 
index 04b8710..d2fcca6 100644 (file)
@@ -1,4 +1,5 @@
 // PR c++/14883
+// { dg-options "-std=gnu++98" }
 
 template < class T > struct DomainTraits {};
 template < int Dim > class Interval;
index 90b0d7d..077bf60 100644 (file)
@@ -1,3 +1,4 @@
+// { dg-options "-std=gnu++98" }
 template <class T >
 struct S
 {
index bd733da..59c8b35 100644 (file)
@@ -1,4 +1,5 @@
 //PR c++/27493
+// { dg-options "-std=gnu++98" }
 
 template<operator T> void foo()         // { dg-error "before|template" }
 {
index 22cb0de..a4ceec9 100644 (file)
@@ -1,4 +1,5 @@
 // PR c++/18140
+// { dg-options "-std=gnu++98" }
 
 template <int N> struct IntHolder {
   static const int value = N;
index 7302b7d..d8faa35 100644 (file)
@@ -1,4 +1,5 @@
 // PR c++/23667
+// { dg-options "-std=gnu++98" }
 
 template<int dummy>
   struct X
index d5425d1..f5f7b7b 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do assemble  }
+// { dg-options "-std=gnu++98" }
 
 template <class T>
 struct C {