From 886f60ca3fe444933c4ed8d694bcea662168affd Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 27 Apr 2005 18:06:04 +0000 Subject: [PATCH] * c-semantics.c (add_stmt): Don't test STATEMENT_CODE_P From-SVN: r98868 --- gcc/ChangeLog | 4 ++++ gcc/c-semantics.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 96e67f1fca7..944989ebf1b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-04-27 Ian Lance Taylor + + * c-semantics.c (add_stmt): Don't test STATEMENT_CODE_P. + 2005-04-27 Kazu Hirata * tree-ssa-dce.c: Fix a comment typo. diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c index fe81249117f..f7757c6ff82 100644 --- a/gcc/c-semantics.c +++ b/gcc/c-semantics.c @@ -108,7 +108,7 @@ add_stmt (tree t) { enum tree_code code = TREE_CODE (t); - if ((EXPR_P (t) || STATEMENT_CODE_P (code)) && code != LABEL_EXPR) + if (EXPR_P (t) && code != LABEL_EXPR) { if (!EXPR_HAS_LOCATION (t)) SET_EXPR_LOCATION (t, input_location); -- 2.30.2