]> gcc.gnu.org Git - gcc.git/commitdiff
re PR bootstrap/53300 (AIX bootstrap related to varpool patch)
authorJan Hubicka <jh@suse.cz>
Fri, 11 May 2012 08:40:15 +0000 (10:40 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 11 May 2012 08:40:15 +0000 (08:40 +0000)
PR bootstrap/53300
* varpool.c (varpool_assemble_decl): Also output constat pool entries
that output_constant_pool missed.

From-SVN: r187397

gcc/ChangeLog
gcc/varpool.c

index 94bd5450cb996d20249874bd8fbe406de63defce..e6f59c484571637730ad1afd55fcdde71428f0ff 100644 (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
index 5ab294bcd161c022d1b3fed6547c049fc9dd6931..ef025670125915dd254a05e7d025de25c5d2ed14 100644 (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
This page took 0.084002 seconds and 5 git commands to generate.