Re: [PATCH] libstdc++: Skip integer division optimization for Clang

2023-03-21 Thread Jonathan Wakely via Gcc-patches
On Tue, 21 Mar 2023 at 17:06, Matthias Kretz via Libstdc++ < libstd...@gcc.gnu.org> wrote: > Tested on x86_64-pc-linux-gnu. > > - 8< --- > > Clang ICEs on _SimdImplX86::_S_divides. The function is only working > around a missed optimization and not necessary for correctness. >

[PATCH] libstdc++: Skip integer division optimization for Clang

2023-03-21 Thread Matthias Kretz via Gcc-patches
Tested on x86_64-pc-linux-gnu. - 8< --- Clang ICEs on _SimdImplX86::_S_divides. The function is only working around a missed optimization and not necessary for correctness. Therefore, don't use it for Clang. Signed-off-by: Matthias Kretz libstdc++-v3/ChangeLog: *