https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103989
--- Comment #8 from hubicka at kam dot mff.cuni.cz --- > You can not disable an IPA pass becasuse then we will mishandle > optimize attributes. I think you simply want to set > > flag_inline_small_functions = 0 > flag_inline_functions_called_once = 0 Actually I forgot, we have flag_no_inline which makes tree_inlinable_function_p to return false for everything except for ALWAYS_INLINE and so we only want to set this one for Og.