http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56593
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2013-03-12 16:53:15 UTC --- > Is there any advantage in putting nested functions in different partition from > the parent function? I'd say LTO just should try hard to make to put them > into > the same partition. That would be an arbitrary restriction though. This works fine, except that -g currently breaks, but (1) it doesn't really work with LTO in any case and (2) nested functions don't really work with -g at high optimization level either.