gcc/
PR middle-end/63325
* fold-const.c (fold_checksum_tree): Don't include
expr.decl_with_vis.symtab_node in the checksum.
From-SVN: r219994
+2015-01-22 Trevor Saunders <tsaunders@mozilla.com>
+
+ PR middle-end/63325
+ * fold-const.c (fold_checksum_tree): Don't include value of
+ expr->decl_with_vis.symtab_node in the checksum.
+
2015-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.md (atomic code attribute): Fix typo "ior" ->
*slot = expr;
code = TREE_CODE (expr);
if (TREE_CODE_CLASS (code) == tcc_declaration
- && DECL_ASSEMBLER_NAME_SET_P (expr))
+ && HAS_DECL_ASSEMBLER_NAME_P (expr))
{
- /* Allow DECL_ASSEMBLER_NAME to be modified. */
+ /* Allow DECL_ASSEMBLER_NAME and symtab_node to be modified. */
memcpy ((char *) &buf, expr, tree_size (expr));
SET_DECL_ASSEMBLER_NAME ((tree)&buf, NULL);
+ buf.decl_with_vis.symtab_node = NULL;
expr = (tree) &buf;
}
else if (TREE_CODE_CLASS (code) == tcc_type