[Bug ipa/117862] Missed Optimization: Failure to Inline Functions When Generating Position-Independent Code (PIC)
jonathan.gruber.jg at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Dec 1 03:38:06 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117862
--- Comment #3 from Jonathan Gruber <jonathan.gruber.jg at gmail dot com> ---
(In reply to Andrew Pinski from comment #1)
> https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Optimize-Options.html#index-
> fsemantic-interposition
>
> This is by design. You need -fno-semantic-interposition..
(In reply to Andreas Schwab from comment #2)
> Or declare the function with hidden visibility.
Thanks for the tips. Sorry to have wasted y'all's time.
More information about the Gcc-bugs
mailing list