2002-10-08 Andrew Haley <aph@redhat.com>
* parse.y (attach_init_test_initialization_flags): Check for
error_mark_node.
From-SVN: r57928
+2002-10-08 Andrew Haley <aph@redhat.com>
+
+ * parse.y (attach_init_test_initialization_flags): Check for
+ error_mark_node.
+
2002-10-07 Anthony Green <green@redhat.com>
* parse.y (merge_string_cste): Fix bug in string concatenation.
tree block = (tree)ptr;
struct treetreehash_entry *ite = (struct treetreehash_entry *) *entry;
- TREE_CHAIN (ite->value) = BLOCK_EXPR_DECLS (block);
- BLOCK_EXPR_DECLS (block) = ite->value;
+ if (block != error_mark_node)
+ {
+ TREE_CHAIN (ite->value) = BLOCK_EXPR_DECLS (block);
+ BLOCK_EXPR_DECLS (block) = ite->value;
+ }
return true;
}