https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103989
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Honza, -Og was supposed to not do so much work, I intended to disable IPA
inlining but there's no knob for that. I wonder where to best put such
guard? I set flag_inline_small_functions to zero for -Og but we still
run inline_small_functions (). Basically -Og was supposed to only do
early opts and then what is necessary for correct RTL expansion. Doing
IPA inlining defeats this :/
Can you help? Is it safe to simply gate the inline_small_functions ()
call? Do we want an extra -f[no-]ipa-inline like we have -fearly-inlining?
Using -fdisable-ipa-inline gets rid of the diagnostic