https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87299
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Gwenole Beauchesne from comment #8) > Hi, can you please consider a backport to GCC 13 branch? The patch applies > cleanly as is, but causes regressions that are further fixed with e45c564e > (for PR pch/112319). > > GCC 13 is the first and most complete compiler for modern C++ (>= C++20) > support and readily available, or soon available, as the system compiler for > major distributions. This is useful to C++ projects that (debately) use > multiple wrappers for SIMD support (xsimd, simde, mipp, etc.), but without > correct support for runtime dispatching. So, using #pragma GCC target is a > handy solution for that. No, this certainly shouldn't be backported, it is a significant behavior change which is something that shouldn't be done on release branches. E.g. it breaks simdutf, see https://github.com/simdutf/simdutf/issues/391