diff options
Diffstat (limited to 'gcc/tree-ssa-operands.c')
-rw-r--r-- | gcc/tree-ssa-operands.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index de5150e..47b4f1b 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -998,10 +998,6 @@ get_stmt_operands (tree stmt) _DECL. This indicates a bug in the gimplifier. */ gcc_assert (!SSA_VAR_P (stmt)); - /* Ignore error statements. */ - if (TREE_CODE (stmt) == ERROR_MARK) - return; - ann = get_stmt_ann (stmt); /* If the statement has not been modified, the operands are still valid. */ @@ -1037,7 +1033,7 @@ get_expr_operands (tree stmt, tree *expr_p, int flags) tree expr = *expr_p; stmt_ann_t s_ann = stmt_ann (stmt); - if (expr == NULL || expr == error_mark_node) + if (expr == NULL) return; code = TREE_CODE (expr); |