------- Comment #3 from rguenth at gcc dot gnu dot org 2009-09-04 11:43 ------- Hm, we can't delete it either. As we are emitting more thunks that strictly necessary we need to mark their targets necessary properly. Emitting the tunks before analyzing the functions and finishing aliases works for me.
I'm testing a patch... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41257