re PR bootstrap/53300 (AIX bootstrap related to varpool patch)

PR bootstrap/53300
	* varpool.c (varpool_assemble_decl): Also output constat pool entries
	that output_constant_pool missed.

From-SVN: r187397
This commit is contained in:
Jan Hubicka 2012-05-11 10:40:15 +02:00 committed by Jan Hubicka
parent d10938172f
commit 8fc17ddc40
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-05-11 Jan Hubicka <jh@suse.cz>
PR bootstrap/53300
* varpool.c (varpool_assemble_decl): Also output constat pool entries
that output_constant_pool missed.
2012-05-11 Mingjie Xing <mingjie.xing@gmail.com>
* config/mips/t-vxworks: Change MUTLILIB_EXTRA_OPTS to

View File

@ -282,7 +282,7 @@ varpool_assemble_decl (struct varpool_node *node)
/* Constant pool is output from RTL land when the reference
survive till this level. */
if (DECL_IN_CONSTANT_POOL (decl))
if (DECL_IN_CONSTANT_POOL (decl) && TREE_ASM_WRITTEN (decl))
return false;
/* Decls with VALUE_EXPR should not be in the varpool at all. They