Commit 8909b58e by Marek Polacek Committed by Marek Polacek

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
parent 401119e8
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> 2014-09-12 DJ Delorie <dj@redhat.com>
* config/msp430/msp430.md (extendhipsi2): Use 20-bit form of RLAM/RRAM. * config/msp430/msp430.md (extendhipsi2): Use 20-bit form of RLAM/RRAM.
...@@ -4585,7 +4585,7 @@ build_block (tree vars, tree subblocks, tree supercontext, tree chain) ...@@ -4585,7 +4585,7 @@ build_block (tree vars, tree subblocks, tree supercontext, tree chain)
void void
protected_set_expr_location (tree t, location_t loc) 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); SET_EXPR_LOCATION (t, loc);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment