[committed] libstdc++: Remove test dependency on _GLIBCXX_USE_C99_STDINT_TR1

Message ID 20230512134439.1291794-1-jwakely@redhat.com
State Accepted
Headers
Series [committed] libstdc++: Remove test dependency on _GLIBCXX_USE_C99_STDINT_TR1 |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Jonathan Wakely May 12, 2023, 1:44 p.m. UTC
  Tested x86_64-linux. Pushed to trunk.

-- >8 --

This should have been done in r9-2028-g8ba7f29e3dd064 when
std::shared_mutex was changed to be defined without depending on
_GLIBCXX_USE_C99_STDINT_TR1.

libstdc++-v3/ChangeLog:

	* testsuite/experimental/feat-cxx14.cc: Remove dependency on
	_GLIBCXX_USE_C99_STDINT_TR1.
---
 libstdc++-v3/testsuite/experimental/feat-cxx14.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/libstdc++-v3/testsuite/experimental/feat-cxx14.cc b/libstdc++-v3/testsuite/experimental/feat-cxx14.cc
index 8c0061eddbf..effe382e06e 100644
--- a/libstdc++-v3/testsuite/experimental/feat-cxx14.cc
+++ b/libstdc++-v3/testsuite/experimental/feat-cxx14.cc
@@ -107,7 +107,7 @@ 
 #  error "<shared_mutex>"
 #endif
 
-#if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1)
+#if defined(_GLIBCXX_HAS_GTHREADS)
 #  ifndef  __cpp_lib_shared_timed_mutex
 #    error "__cpp_lib_shared_timed_mutex"
 #  elif  __cpp_lib_shared_timed_mutex != 201402