diff options
author | Ian Lance Taylor <ian@airs.com> | 2005-04-27 18:06:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2005-04-27 18:06:04 +0000 |
commit | 886f60ca3fe444933c4ed8d694bcea662168affd (patch) | |
tree | ca9c61c0a67ddb4dda0b9c776c71f2bc45e74357 /gcc/c-semantics.c | |
parent | ba8e51e4e300bd61c67f23512722a814ffeb894e (diff) | |
download | gcc-886f60ca3fe444933c4ed8d694bcea662168affd.zip gcc-886f60ca3fe444933c4ed8d694bcea662168affd.tar.gz gcc-886f60ca3fe444933c4ed8d694bcea662168affd.tar.bz2 |
* c-semantics.c (add_stmt): Don't test STATEMENT_CODE_P
From-SVN: r98868
Diffstat (limited to 'gcc/c-semantics.c')
-rw-r--r-- | gcc/c-semantics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c index fe81249..f7757c6 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); |