From 8909b58efa79468e797edd18139af98c72dd1e64 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Sat, 13 Sep 2014 05:59:47 +0000 Subject: [PATCH] tree.c (protected_set_expr_location): Don't check whether T is non-null here. * tree.c (protected_set_expr_location): Don't check whether T is non-null here. From-SVN: r215234 --- gcc/ChangeLog | 5 +++++ gcc/tree.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d30f380de39..ba99610df88 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-09-13 Marek Polacek + + * tree.c (protected_set_expr_location): Don't check whether T is + non-null here. + 2014-09-12 DJ Delorie * config/msp430/msp430.md (extendhipsi2): Use 20-bit form of RLAM/RRAM. diff --git a/gcc/tree.c b/gcc/tree.c index 6ad05756df0..f999a3bbdbe 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); } -- 2.30.2