(save_expr): Return original for ERROR_MARK.

From-SVN: r10399
This commit is contained in:
Richard Kenner 1995-09-25 17:50:22 -04:00
parent 1fd7c4ac66
commit e0094edb03

View File

@ -2110,7 +2110,7 @@ save_expr (expr)
literal node. */
if (TREE_CONSTANT (t) || (TREE_READONLY (t) && ! TREE_SIDE_EFFECTS (t))
|| TREE_CODE (t) == SAVE_EXPR)
|| TREE_CODE (t) == SAVE_EXPR || TREE_CODE (t) == ERROR_MARK)
return t;
/* If T contains a PLACEHOLDER_EXPR, we must evaluate it each time, since