------- Comment #29 from jakub at gcc dot gnu dot org 2009-09-04 12:31 ------- In the cfgloopmanip.o case, it seems that in addition to stripping .eh_frame section we'd need to strip also .rel.eh_frame and .rela.eh_frame. Plus, there is a code generation difference between -g and -g0, apparently stage2 (-g0) uses sub $0x58,%esp where stage3 (-g) uses sub $0x4c,%esp; sub $0xc,%esp. Likely combine-stack-adj.c refuses to merge them because of CFI stuff, could you please attach preprocessed source for cfgloopmanip.c and all options used to compile it?
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41241