From: mpolacek Date: Sat, 13 Sep 2014 05:59:47 +0000 (+0000) Subject: * tree.c (protected_set_expr_location): Don't check whether T is X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=510a60a4995950df5b4431ec1795d14c99f47cad;p=thirdparty%2Fgcc.git * tree.c (protected_set_expr_location): Don't check whether T is non-null here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215234 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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); }