]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Use -std option in test for C99 macros in <cmath>
authorJonathan Wakely <jwakely@redhat.com>
Fri, 8 Jan 2016 14:59:36 +0000 (14:59 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 8 Jan 2016 14:59:36 +0000 (14:59 +0000)
* testsuite/26_numerics/headers/cmath/
c99_classification_macros_c++.cc: Rename to ...
* testsuite/26_numerics/headers/cmath/
c99_classification_macros_c++98.cc: Here and add -std=gnu++98.
* testsuite/26_numerics/headers/cmath/
c99_classification_macros_c++0x.cc: Rename to ...
* testsuite/26_numerics/headers/cmath/
c99_classification_macros_c++11.cc: Here.

From-SVN: r232165

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++11.cc [moved from libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++0x.cc with 100% similarity]
libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++98.cc [moved from libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc with 98% similarity]

index 917ba23975fe190e48433a860166e94ec386fee3..e0cc2a670a1dbbdbdaf1b5da51e03eef9624e9f6 100644 (file)
@@ -1,5 +1,14 @@
 2016-01-08  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/26_numerics/headers/cmath/
+       c99_classification_macros_c++.cc: Rename to ...
+       * testsuite/26_numerics/headers/cmath/
+       c99_classification_macros_c++98.cc: Here and add -std=gnu++98.
+       * testsuite/26_numerics/headers/cmath/
+       c99_classification_macros_c++0x.cc: Rename to ...
+       * testsuite/26_numerics/headers/cmath/
+       c99_classification_macros_c++11.cc: Here.
+
        PR libstdc++/69190
        * include/bits/uses_allocator.h: Add missing include.
 
similarity index 98%
rename from libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc
rename to libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++98.cc
index 6e81b6813ae75601206a0e94bf1548fb9eb9aa73..4c4cc4e85b87237fd9ab34a6f4439250a609ec07 100644 (file)
@@ -17,7 +17,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-
+// { dg-options "-std=gnu++98" }
 // { dg-do compile { xfail uclibc } }
 // { dg-excess-errors "" { target uclibc } }