diff options
author | Jan Hubicka <jh@suse.cz> | 2012-05-11 10:40:15 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2012-05-11 08:40:15 +0000 |
commit | 8fc17ddc40ad2d6556d0a623c5a4408930051cad (patch) | |
tree | 772245d4c46eba7c54e1e4b33561f087075e95aa /gcc/varpool.c | |
parent | d10938172fb99885e54d32a3be39ee9369b6dc1a (diff) | |
download | gcc-8fc17ddc40ad2d6556d0a623c5a4408930051cad.zip gcc-8fc17ddc40ad2d6556d0a623c5a4408930051cad.tar.gz gcc-8fc17ddc40ad2d6556d0a623c5a4408930051cad.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varpool.c b/gcc/varpool.c index 5ab294b..ef02567 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 |