aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 6ad0575..f999a3b 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -4585,7 +4585,7 @@ build_block (tree vars, tree subblocks, tree supercontext, tree chain)
void
protected_set_expr_location (tree t, location_t loc)
{
- if (t && CAN_HAVE_LOCATION_P (t))
+ if (CAN_HAVE_LOCATION_P (t))
SET_EXPR_LOCATION (t, loc);
}