From 26465c8337a7b1f6fde0c2b971a60dc46fea961a Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sun, 12 Jun 2022 11:42:30 +0200 Subject: [PATCH] [libc++] Removes a GCC bug work-around. Based on the comments in [1] this should be fixed in GCC-11. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37804 Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D127590 --- libcxx/include/__tree | 2 -- 1 file changed, 2 deletions(-) diff --git a/libcxx/include/__tree b/libcxx/include/__tree index 4e6aee3..e5dd1f4 100644 --- a/libcxx/include/__tree +++ b/libcxx/include/__tree @@ -33,12 +33,10 @@ _LIBCPP_PUSH_MACROS _LIBCPP_BEGIN_NAMESPACE_STD -#if defined(__GNUC__) && !defined(__clang__) // gcc.gnu.org/PR37804 template class _LIBCPP_TEMPLATE_VIS map; template class _LIBCPP_TEMPLATE_VIS multimap; template class _LIBCPP_TEMPLATE_VIS set; template class _LIBCPP_TEMPLATE_VIS multiset; -#endif template class __tree; template -- 2.7.4