diff options
author | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-05 17:26:05 +0000 |
---|---|---|
committer | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-05 17:26:05 +0000 |
commit | 35cc02b5c80ac6738c1a3362a822e3d7e4d0c587 (patch) | |
tree | 32d3ee1ddfcad180d619d756a84eeb0df779a6a2 /gcc/c-typeck.c | |
parent | fc297ba47e780c3659434d04f3c299b705154d5f (diff) | |
download | ppe42-gcc-35cc02b5c80ac6738c1a3362a822e3d7e4d0c587.tar.gz ppe42-gcc-35cc02b5c80ac6738c1a3362a822e3d7e4d0c587.zip |
Merge gimple-tuples-branch into mainline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119546 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-typeck.c')
-rw-r--r-- | gcc/c-typeck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 1b0e33a7946..ec145334afa 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -7450,7 +7450,7 @@ c_process_expr_stmt (tree expr) if (DECL_P (expr) || CONSTANT_CLASS_P (expr)) expr = build1 (NOP_EXPR, TREE_TYPE (expr), expr); - if (EXPR_P (expr)) + if (CAN_HAVE_LOCATION_P (expr)) SET_EXPR_LOCATION (expr, input_location); return expr; @@ -7587,7 +7587,7 @@ c_finish_stmt_expr (tree body) { /* Do not warn if the return value of a statement expression is unused. */ - if (EXPR_P (last)) + if (CAN_HAVE_LOCATION_P (last)) TREE_NO_WARNING (last) = 1; return last; } |