http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49887
--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-07-29 16:10:04 UTC --- > --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-29 > 13:06:13 UTC --- > Emit that in targetm.asm_out.file_end () instead? Seems to work according to a quick test running gcc.dg/debug/debug.exp. I'll run it through a full bootstrap cycle on both sparc and x86, as and gas over the weekend. I think I had some reason not to use TARGET_ASM_FILE_END for the COMDAT-with-as patch, but cannot remember what it was. Thanks. Rainer