[RFA] Avoid non-static&external vars in varpool

Richard Henderson rth@redhat.com
Thu Sep 2 19:43:00 GMT 2010


On 09/02/2010 12:28 PM, Jan Hubicka wrote:
> 	* passes.c (rest_of_decl_compilation): Do not add local vars into varpol.
> 	* varpool.c (varpool_get_node, varpool_node): Sanity check that only
> 	static or extern vars are in varpool.
> 	(varpool_finalize_decl): Sanity check that only static vars are finalized.

Looks good.


r~



More information about the Gcc-patches mailing list