[committed] libstdc++: Fix operator% implementation for Clang

Matthias Kretz m.kretz@gsi.de
Tue Mar 28 10:42:40 GMT 2023



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.
---
 libstdc++-v3/include/experimental/bits/simd_x86.h | 2 ++
 1 file changed, 2 insertions(+)


--
──────────────────────────────────────────────────────────────────────────
 Dr. Matthias Kretz                           https://mattkretz.github.io
 GSI Helmholtz Centre for Heavy Ion Research               https://gsi.de
 stdₓ::simd
──────────────────────────────────────────────────────────────────────────
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libstdc-Fix-operator-implementation-for-Clang.patch
Type: text/x-patch
Size: 448 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20230328/d9b26adc/attachment-0001.bin>


More information about the Libstdc++ mailing list