https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103989
--- Comment #14 from hubicka at kam dot mff.cuni.cz --- > > Sure - I just remember (falsely?) that we finally decided to do it :) I do not recall this, but I may have forgotten :)) > If we don't run IPA inline we don't figure we failed to inline the > always_inline either ;) And IPA inline can expose more indirect > alywas-inlines we only discover after even more optimization so the > issue is really moot unless we sorry () (or link-fail). Problem with kernel was that it relied on quite complicated indirect inliing of always inlined and did not work without it. At beggining I think we should have introduced two attributes - always_inline and disregard_inline_limits just like we have internally. Always_inline should have never allowed public linkage or taking its address, but it is probbly late to fix that :( Honza