This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047

Attachment: context.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]