https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110334
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> --- For skia, wouldn't the best fix be stop compiling the TU(s) with -mavx but instead #pragma GCC push_options #pragma GCC target("avx") after including headers and #pragma GCC pop_options at the end (plus clang equivalents)? Then whatever is defined in that file would be -mavx and the comdats if inlined would do too, but if they aren't inlined would still not have it?