Commit 886f60ca by Ian Lance Taylor Committed by Ian Lance Taylor

* c-semantics.c (add_stmt): Don't test STATEMENT_CODE_P

From-SVN: r98868
parent ba8e51e4
2005-04-27 Ian Lance Taylor <ian@airs.com>
* c-semantics.c (add_stmt): Don't test STATEMENT_CODE_P.
2005-04-27 Kazu Hirata <kazu@cs.umass.edu>
* tree-ssa-dce.c: Fix a comment typo.
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment