diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d30f380..ba99610 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. @@ -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); } |