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

From-SVN: r222455
This commit is contained in:
Eric Botcazou 2015-04-27 10:10:47 +00:00 committed by Eric Botcazou
parent 9e3a513193
commit e5115cf9bc
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,7 @@
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>
* vec.h (vec): Make splice arguments const. Update definitions

View File

@ -1806,9 +1806,8 @@ sem_function::icf_handled_component_p (tree t)
{
tree_code tc = TREE_CODE (t);
return ((handled_component_p (t))
|| tc == ADDR_EXPR || tc == MEM_REF || tc == REALPART_EXPR
|| tc == IMAGPART_EXPR || tc == OBJ_TYPE_REF);
return (handled_component_p (t)
|| tc == ADDR_EXPR || tc == MEM_REF || tc == OBJ_TYPE_REF);
}
/* Basic blocks dictionary BB_DICT returns true if SOURCE index BB