(save_expr): Return original for ERROR_MARK.
From-SVN: r10399
This commit is contained in:
parent
1fd7c4ac66
commit
e0094edb03
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user