https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98209
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to rguent...@suse.de from comment #10) > I think the *intrin.h example is not really relevant as their direct > caller is very unlikely to differ in setting. In bugfree code sure. When writing code, because there are so many ISA extensions it is often the case one attempts to use an intrinsic that requires other ISA flags, and rely on the compiler to diagnose that. So, if we e.g. wanted to redeclare always_inline as being inlinable to anything regardless of target and optimize flags, we'd need to add another attribute and stick it on all the intrinsic that would say but for these require it. But, even for the _FORTIFY_SOURCE inlines, I'm not really sure we e.g. want to inline them into -O0 functions, because fortification relies on -O1+.