[libcxx-commits] [libcxx] 26465c8 - [libc++] Removes a GCC bug work-around.

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 13 08:55:48 PDT 2022


Author: Mark de Wever
Date: 2022-06-13T17:55:43+02:00
New Revision: 26465c8337a7b1f6fde0c2b971a60dc46fea961a

URL: https://github.com/llvm/llvm-project/commit/26465c8337a7b1f6fde0c2b971a60dc46fea961a
DIFF: https://github.com/llvm/llvm-project/commit/26465c8337a7b1f6fde0c2b971a60dc46fea961a.diff

LOG: [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

Added: 
    

Modified: 
    libcxx/include/__tree

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__tree b/libcxx/include/__tree
index 4e6aee3b84caa..e5dd1f4d45ea9 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, class, class, class> class _LIBCPP_TEMPLATE_VIS map;
 template <class, class, class, class> class _LIBCPP_TEMPLATE_VIS multimap;
 template <class, class, class> class _LIBCPP_TEMPLATE_VIS set;
 template <class, class, class> class _LIBCPP_TEMPLATE_VIS multiset;
-#endif
 
 template <class _Tp, class _Compare, class _Allocator> class __tree;
 template <class _Tp, class _NodePtr, class _DiffType>


        


More information about the libcxx-commits mailing list