[lto][patch] Don't write DECL_CONTEXT of LABEL_DECLs

Rafael Espindola espindola@google.com
Sat Jan 24 11:47:00 GMT 2009

This is a bit of a hack, but as the FIXMEs explain, the right way is
just too hard to do right now.

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

	* lto-function-in.c (input_label_decl): Set DECL_CONTEXT to NULL_TREE.
	* lto-function-out.c (output_label_decl) Don't write DECL_CONTEXT.

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: context.patch
Type: application/octet-stream
Size: 1491 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090124/e3fb7f48/attachment.obj>

More information about the Gcc-patches mailing list