https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99744
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Looks like the same thing as PR98209. Basically, that for always_inline we don't know whether the implicitly set target/optimization flags (inherited from command line rather than from explicit target pragmas or optimize/target attributes) must be matched in the caller or not. And we don't really track what was from the command line and what was overridden. For some functions we don't really care and want to inline them always no matter if there are any optimize/target differences (e.g. the various glibc -D_FORTIFY_SOURCE* functions), in other functions we care about the explicit but not implicit flags, and in yet other we care about everything.