From 8babc12b224cfb1744799ad4d2020522b222e1fc Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 8 Jan 2016 14:59:36 +0000 Subject: [PATCH] Use -std option in test for C99 macros in * 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 | 9 +++++++++ ...acros_c++0x.cc => c99_classification_macros_c++11.cc} | 0 ..._macros_c++.cc => c99_classification_macros_c++98.cc} | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) rename libstdc++-v3/testsuite/26_numerics/headers/cmath/{c99_classification_macros_c++0x.cc => c99_classification_macros_c++11.cc} (100%) rename libstdc++-v3/testsuite/26_numerics/headers/cmath/{c99_classification_macros_c++.cc => c99_classification_macros_c++98.cc} (98%) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 917ba23975fe..e0cc2a670a1d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,14 @@ 2016-01-08 Jonathan Wakely + * 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. diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++0x.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++11.cc similarity index 100% rename from libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++0x.cc rename to libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++11.cc diff --git a/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc b/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++98.cc 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 6e81b6813ae7..4c4cc4e85b87 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/cmath/c99_classification_macros_c++98.cc @@ -17,7 +17,7 @@ // with this library; see the file COPYING3. If not see // . - +// { dg-options "-std=gnu++98" } // { dg-do compile { xfail uclibc } } // { dg-excess-errors "" { target uclibc } } -- 2.47.2