[PATCH v2] libstdc++: Remove unnecessary code from reduce implementation

Matthias Kretz MatthiasKretz@gmx.net
Wed Aug 19 11:01:44 GMT 2026


Jonathan Wakely [Wednesday, 19 August 2026, 10:55:03 CEST]:
> OK for trunk, thanks.
> 
> (Is it still needed for gcc-16? Should the drive-by be backported at least?)

I think the _M_elements_shifted_to_front change can be backported. I'll re-
test and if there's no performance regression, I'll backport.

The drive-by issue was introduced with the [simd.complex] patch and therefore 
not on gcc-16.

-- 
──────────────────────────────────────────────────────────────────────────
 Dr. Matthias Kretz                           https://mattkretz.github.io
 GSI Helmholtz Center for Heavy Ion Research               https://gsi.de
 std::simd
──────────────────────────────────────────────────────────────────────────


More information about the Libstdc++ mailing list