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
This commit is contained in:
Marek Polacek 2014-09-13 05:59:47 +00:00 committed by Marek Polacek
parent 401119e83a
commit 8909b58efa
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-09-13 Marek Polacek <polacek@redhat.com>
* tree.c (protected_set_expr_location): Don't check whether T is
non-null here.
2014-09-12 DJ Delorie <dj@redhat.com>
* config/msp430/msp430.md (extendhipsi2): Use 20-bit form of RLAM/RRAM.

View file

@ -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);
}