http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50255
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org |gnu.org | --- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-09-07 15:27:16 UTC --- Created attachment 25223 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25223 gcc46-pr50255.patch Untested fix. If we decide to emit the thunk in the same section as the function, it'd better use the right comdat group as well.