variables in the global contant pool.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194324
138bc75d-0d04-0410-961f-
82ee72b054a4
+2012-12-08 Eric Botcazou <ebotcazou@adacore.com>
+
+ * lto-streamer-out.c (lto_write_tree): Do not reset the DECL_INITIAL of
+ variables in the global contant pool.
+
2012-12-08 Steven Bosscher <steven@gcc.gnu.org>
PR rtl-optimization/55158
tree initial = DECL_INITIAL (expr);
if (TREE_CODE (expr) == VAR_DECL
&& (TREE_STATIC (expr) || DECL_EXTERNAL (expr))
+ && !DECL_IN_CONSTANT_POOL (expr)
&& initial)
{
lto_symtab_encoder_t encoder;