================ @@ -1604,10 +1604,12 @@ static bool isTargetVariantEnvironment(const TargetInfo &TI, return false; } -#if defined(__sun__) && defined(__svr4__) +#if defined(__sun__) && defined(__svr4__) && defined(__clang__) && \ + __clang__ < 20 ---------------- rorth wrote:
Certainly: the fix for GCC PR libstdc++-v3/1773 went in 13 years ago. That should be good enough ;-) https://github.com/llvm/llvm-project/pull/106353 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits