http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60058
--- Comment #2 from Jan Hubicka <hubicka at ucw dot cz> --- Ah yes, if the method can not be referred, we need to check that target is non-NULL. I reorganized the code one too man times. I will double check it is what happens in your testcase. Honza