Re: Fix cgraph_address_taken_from_non_vtable_p

2011-06-27 Thread Richard Guenther
On Mon, 27 Jun 2011, Jan Hubicka wrote: > Hi, > this patch fixes thinko in cgraph_address_taken_from_non_vtable_p that valks > references in NODE instead of references of NODE. > It fixes the testcase in http://sourceware.org/bugzilla/show_bug.cgi?id=12942 > in non-plugin LTO and Gold, but not wit

Fix cgraph_address_taken_from_non_vtable_p

2011-06-27 Thread Jan Hubicka
Hi, this patch fixes thinko in cgraph_address_taken_from_non_vtable_p that valks references in NODE instead of references of NODE. It fixes the testcase in http://sourceware.org/bugzilla/show_bug.cgi?id=12942 in non-plugin LTO and Gold, but not with GNU LD that presently handle resolution info inco