On Tue, Jun 14, 2011 at 7:27 AM, Jan Hubicka <hubi...@ucw.cz> wrote: > Hi, > cgraph_address_taken_from_non_vtable_p was written with asumption that all > references to functions > take addresses. This is not true for aliases. > > Bootstrapped/regtested x86_64-linux, comitted. > > Honza > > Index: ChangeLog > =================================================================== > --- ChangeLog (revision 175020) > +++ ChangeLog (working copy) > @@ -1,3 +1,7 @@ > +2011-06-13 Jan Hubicka <j...@suse.cz> > + > + * ipa.c (cgraph_address_taken_from_non_vtable_p): Check the ref type. > + > 2011-06-14 Richard Henderson <r...@redhat.com> >
This caused: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49439 -- H.J.