[lto][patch] Small fix for the handling of weak decls

Rafael Espindola espindola@google.com
Tue Dec 9 17:19:00 GMT 2008


If we see first a WEAKUNDEF  and then a WEAKDEF, we should use the
second. Also, the resolution of WEAKUNDEF should be LDPR_RESOLVED_IR.

2008-12-09  Rafael Avila de Espindola  <espindola@google.com>

	* lto-function-in.c (get_resolution): Fix handling of weak decls.

Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
-------------- next part --------------
A non-text attachment was scrubbed...
Name: weak.patch
Type: text/x-diff
Size: 839 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081209/1d2190ab/attachment.bin>


More information about the Gcc-patches mailing list