public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-10818] libstdc++: Fix operator% implementation for Clang
@ 2023-05-25  7:04 Matthias Kretz
  0 siblings, 0 replies; only message in thread
From: Matthias Kretz @ 2023-05-25  7:04 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:31f957671a4177b38eabc3760ed8cf9518bd38f1

commit r11-10818-g31f957671a4177b38eabc3760ed8cf9518bd38f1
Author: Matthias Kretz <m.kretz@gsi.de>
Date:   Wed Mar 22 08:12:08 2023 +0100

    libstdc++: Fix operator% implementation for Clang
    
    This resolves a regression of my previous fix where Clang would ICE on
    _S_divides.
    
    Signed-off-by: Matthias Kretz <m.kretz@gsi.de>
    
    libstdc++-v3/ChangeLog:
    
            * include/experimental/bits/simd_x86.h (_SimdImplX86): Use
            _Base::_S_divides if the optimized _S_divides function is hidden
            via the preprocessor.
    
    (cherry picked from commit 1a62008123694b2ac07f28e25fc6e5ff371925f5)

Diff:
---
 libstdc++-v3/include/experimental/bits/simd_x86.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libstdc++-v3/include/experimental/bits/simd_x86.h b/libstdc++-v3/include/experimental/bits/simd_x86.h
index 7703bbfddcf..b7a91166068 100644
--- a/libstdc++-v3/include/experimental/bits/simd_x86.h
+++ b/libstdc++-v3/include/experimental/bits/simd_x86.h
@@ -1524,6 +1524,8 @@ template <typename _Abi>
 	  */
 	return _Base::_S_divides(__x, __y);
       }
+#else
+    using _Base::_S_divides;
 #endif // _GLIBCXX_SIMD_WORKAROUND_PR90993
 
     // }}}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-25  7:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25  7:04 [gcc r11-10818] libstdc++: Fix operator% implementation for Clang Matthias Kretz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).