From: Paolo Carlini Date: Wed, 3 Apr 2013 15:07:12 +0000 (+0000) Subject: re PR libstdc++/56834 (Errors in with --enable-symvers=gnu-versioned-namespac... X-Git-Tag: releases/gcc-4.9.0~6691 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=169a7e85f02e74dd5f7358d54dc879588d8a43d4;p=thirdparty%2Fgcc.git re PR libstdc++/56834 (Errors in with --enable-symvers=gnu-versioned-namespace and -D_GLIBCXX_DEBUG) 2013-04-03 Paolo Carlini PR libstdc++/56834 * include/debug/array (tuple_size, tuple_element): Do not declare. * include/profile/array: Likewise. * testsuite/23_containers/array/tuple_interface/ tuple_element_debug_neg.cc: Adjust dg-error line number. From-SVN: r197415 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9e27c7632c60..6522c25999ea 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,11 @@ +2013-04-03 Paolo Carlini + + PR libstdc++/56834 + * include/debug/array (tuple_size, tuple_element): Do not declare. + * include/profile/array: Likewise. + * testsuite/23_containers/array/tuple_interface/ + tuple_element_debug_neg.cc: Adjust dg-error line number. + 2013-04-03 Jonathan Wakely * libsupc++/exception (get_terminate(), get_unexpected()): Declare. diff --git a/libstdc++-v3/include/debug/array b/libstdc++-v3/include/debug/array index 734eeaded726..bce10cf3f120 100644 --- a/libstdc++-v3/include/debug/array +++ b/libstdc++-v3/include/debug/array @@ -289,17 +289,11 @@ namespace __debug // Tuple interface to class template array. /// tuple_size - template - class tuple_size; - template struct tuple_size<__debug::array<_Tp, _Nm>> : public integral_constant { }; /// tuple_element - template - class tuple_element; - template struct tuple_element<_Int, __debug::array<_Tp, _Nm>> { diff --git a/libstdc++-v3/include/profile/array b/libstdc++-v3/include/profile/array index 4313fd2d5a37..bd6da6ca3960 100644 --- a/libstdc++-v3/include/profile/array +++ b/libstdc++-v3/include/profile/array @@ -251,17 +251,11 @@ namespace __profile // Tuple interface to class template array. /// tuple_size - template - class tuple_size; - template struct tuple_size<__profile::array<_Tp, _Nm>> : public integral_constant { }; /// tuple_element - template - class tuple_element; - template struct tuple_element<_Int, __profile::array<_Tp, _Nm>> { diff --git a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc index 3e5ec1edb224..76ea230b14e8 100644 --- a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc +++ b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc @@ -23,4 +23,4 @@ typedef std::tuple_element<1, std::array>::type type; -// { dg-error "static assertion failed" "" { target *-*-* } 306 } +// { dg-error "static assertion failed" "" { target *-*-* } 300 }