From: Marek Polacek Date: Sat, 13 Sep 2014 05:59:47 +0000 (+0000) Subject: tree.c (protected_set_expr_location): Don't check whether T is non-null here. X-Git-Tag: releases/gcc-5.1.0~4650 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8909b58efa79468e797edd18139af98c72dd1e64;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d30f380de392..ba99610df884 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 6ad05756df00..f999a3bbdbed 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); }