Commit e5115cf9 by Eric Botcazou Committed by Eric Botcazou

* ipa-icf.c (icf_handled_component_p): Remove redundant tests.

From-SVN: r222455
parent 9e3a5131
2015-04-27 Eric Botcazou <ebotcazou@adacore.com>
* ipa-icf.c (icf_handled_component_p): Remove redundant tests.
2015-04-27 Richard Sandiford <richard.sandiford@arm.com> 2015-04-27 Richard Sandiford <richard.sandiford@arm.com>
* vec.h (vec): Make splice arguments const. Update definitions * vec.h (vec): Make splice arguments const. Update definitions
......
...@@ -1806,9 +1806,8 @@ sem_function::icf_handled_component_p (tree t) ...@@ -1806,9 +1806,8 @@ sem_function::icf_handled_component_p (tree t)
{ {
tree_code tc = TREE_CODE (t); tree_code tc = TREE_CODE (t);
return ((handled_component_p (t)) return (handled_component_p (t)
|| tc == ADDR_EXPR || tc == MEM_REF || tc == REALPART_EXPR || tc == ADDR_EXPR || tc == MEM_REF || tc == OBJ_TYPE_REF);
|| tc == IMAGPART_EXPR || tc == OBJ_TYPE_REF);
} }
/* Basic blocks dictionary BB_DICT returns true if SOURCE index BB /* Basic blocks dictionary BB_DICT returns true if SOURCE index BB
......
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