[lto][patch] Fix a fixme

Rafael Espindola espindola@google.com
Thu Jan 15 12:54:00 GMT 2009

This patch fixes the FIXME of making DECL_CONTEXT (decl) =
decl_function_context (decl). It needs the patch I posted yesterday.
Would you like a combined patch?

2009-01-15  Rafael Avila de Espindola  <espindola@google.com>

	* tree.c (reset_decl_lang_specific): Set DECL_CONTEXT (decl) to
	decl_function_context (decl) for all non FIELD_DECL DECLs.
	* dwarf2out.c (add_pure_or_virtual_attribute): Check the DECL_CONTEXT is
	not NULL.

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: fixme.patch
Type: text/x-diff
Size: 1716 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090115/4913c03a/attachment.bin>

More information about the Gcc-patches mailing list