http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48674
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-05-02 13:23:41 UTC --- Well, I think it is a mistake in the cgraph infrastructure and I hoped that Honza and Martin would work on this. At least I see no way to tell whether a function-decl is a thunk or not (and I don't see a reason to not expose direct calls to thunks, as iterated previously). Yes, the noise is annoying but I can't do anything but paper over the issue by either reverting the patch, reverting the testcase or trying to be clever with not exposing direct calls to thunks (which will trivially break with LTO and then, as now, continue to create wrong-code or ICE). So, Honza? Can you make this a priority?