------- Comment #2 from jakub at gcc dot gnu dot org 2010-05-26 16:34 ------- GCC has -fkeep-inline-functions, perhaps that's what you are looking for. That said, I still don't understand why you need something like that.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44285