[Bug ipa/124475] Missed devirtualization: single-implementation vtable slot not resolved when pointer loaded from aggregate
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 13 07:41:18 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124475
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Note noinline also disables most IPA optimizations for historical reasons.
I'm not sure how much LTO can (and does) rely on there not being any shared
objects loaded at runtime that provide another class derived from Base.
I suppose the 'noinline' is supposed to hide the fact from the calling
functions that an object of static type 'Derived' is used?
More information about the Gcc-bugs
mailing list