Commit 6847a754 by Jakub Jelinek Committed by Jakub Jelinek

tree.c (protected_set_expr_location): Don't unnecessarily check for error_mark_node.

	* tree.c (protected_set_expr_location): Don't unnecessarily
	check for error_mark_node.

From-SVN: r140429
parent c74147d2
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
......
......@@ -3584,7 +3584,7 @@ set_expr_locus (tree node, source_location *loc)
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);
}
......
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