summaryrefslogtreecommitdiff
path: root/gcc/varpool.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2012-05-11 10:40:15 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2012-05-11 08:40:15 +0000
commit8fc17ddc40ad2d6556d0a623c5a4408930051cad (patch)
tree772245d4c46eba7c54e1e4b33561f087075e95aa /gcc/varpool.c
parentd10938172fb99885e54d32a3be39ee9369b6dc1a (diff)
downloadgcc-8fc17ddc40ad2d6556d0a623c5a4408930051cad.tar.gz
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
Diffstat (limited to 'gcc/varpool.c')
-rw-r--r--gcc/varpool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varpool.c b/gcc/varpool.c
index 5ab294bcd16..ef025670125 100644
--- a/gcc/varpool.c
+++ b/gcc/varpool.c
@@ -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