* tree.c (protected_set_expr_location): Don't unnecessarily
check for error_mark_node.
From-SVN: r140429
+2008-09-17 Jakub Jelinek <jakub@redhat.com>
+
+ * tree.c (protected_set_expr_location): Don't unnecessarily
+ check for error_mark_node.
+
2008-09-17 Art Haas <ahaas@impactweather.com>
* ipa-reference.c (analyze_function): Declare step only if
void protected_set_expr_location (tree t, location_t loc)
{
- if (t && t != error_mark_node && CAN_HAVE_LOCATION_P (t))
+ if (t && CAN_HAVE_LOCATION_P (t))
SET_EXPR_LOCATION (t, loc);
}
\f