[lto][patch] Support labels on static initializers

Rafael Espindola espindola@google.com
Tue Jul 22 14:30:00 GMT 2008


When a switch is implemented with a jump table, the table initializer
will have labels. This patch adds supports for that. It introduces no
regressions on the current branch and prevents one on the trunk merge
I have on the pipeline.

2008-07-22  Rafael Espindola  <espindola@google.com>

	* lto-function-out.c (create_output_block): Handle
	LTO_section_static_initializer similarly to LTO_section_function_body.
	(destroy_output_block): Handle
	LTO_section_static_initializer similarly to LTO_section_function_body.

Cheers,
-- 
Rafael Avila de Espindola

Google Ireland Ltd.
Gordon House
Barrow Street
Dublin 4
Ireland

Registered in Dublin, Ireland
Registration Number: 368047
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix.patch
Type: application/octet-stream
Size: 903 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080722/be04df14/attachment.obj>


More information about the Gcc-patches mailing list