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 | |
parent | d10938172fb99885e54d32a3be39ee9369b6dc1a (diff) | |
download | gcc-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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/varpool.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 94bd5450cb9..e6f59c48457 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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 |