[libc-commits] [libc] [libcxx] [libc] Workaround for GCC on `typedef` for `_Complex __float128` (PR #157010)

A. Jiang via libc-commits libc-commits at lists.llvm.org
Thu Sep 4 22:12:09 PDT 2025


================
@@ -13,7 +13,12 @@
 
 #ifdef LIBC_TYPES_HAS_CFLOAT128
 #ifndef LIBC_TYPES_CFLOAT128_IS_COMPLEX_LONG_DOUBLE
+#if defined(__GNUC__) && !defined(__clang__)
+// Remove the workaround when https://gcc.gnu.org/PR121799 gets fixed.
----------------
frederick-vs-ja wrote:

Done. It can be confirmed that GCC is happy now. https://github.com/llvm/llvm-project/actions/runs/17483703784/job/49660001482

https://github.com/llvm/llvm-project/pull/157010


More information about the libc-commits mailing list