passes.c (rest_of_decl_compilation): Do not add local vars into varpol.
authorJan Hubicka <jh@suse.cz>
Fri, 3 Sep 2010 09:58:21 +0000 (11:58 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 3 Sep 2010 09:58:21 +0000 (09:58 +0000)
commita482b1f5f45fbd54fce4098d4e03958d1457a310
tree1a0056a61f675aa9f60f5f9ea43861c09f244e5f
parent2f757e4a8b6357445614fe51c4ff394fb13be173
passes.c (rest_of_decl_compilation): Do not add local vars into varpol.

* 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.

From-SVN: r163804
gcc/ChangeLog
gcc/passes.c
gcc/varpool.c