[Bug ipa/121936] [14/15/16 Regression] Invalid optimisation (at O3) based on bodies of vague linkage functions
jamborm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 30 13:01:36 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121936
--- Comment #24 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Martin Jambor from comment #21)
> [...]
> First, it uses externally_visible flag before it is actually computed.
>
I have looked at this together with Honza and the invocation where
this is happening is actually not relevant for this case (and likely
is harmless in general). The DECL_DECLARED_INLINE_P test is what
matters.
More information about the Gcc-bugs
mailing list