]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix operator% implementation for Clang
authorMatthias Kretz <m.kretz@gsi.de>
Wed, 22 Mar 2023 07:12:08 +0000 (08:12 +0100)
committerMatthias Kretz <m.kretz@gsi.de>
Thu, 25 May 2023 07:04:03 +0000 (09:04 +0200)
commit31f957671a4177b38eabc3760ed8cf9518bd38f1
tree376d7923caff3895cdd4b3a22fd444505503cb37
parent9add8ab5ecf5172d794a869e5a20e5494c97a775
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)
libstdc++-v3/include/experimental/bits/simd_x86.h