tree.h (attribute_value_equal): Declare.
* tree.h (attribute_value_equal): Declare. * tree.c (attribute_value_equal): Export. From-SVN: r222380
This commit is contained in:
parent
381811fa30
commit
0b5751c240
|
@ -18,6 +18,11 @@
|
|||
(neon_vca<cmp_op><mode>_insn): New pattern.
|
||||
(neon_vca<cmp_op_unsp><mode>_insn_unspec): Likewise.
|
||||
|
||||
2015-04-23 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* tree.h (attribute_value_equal): Declare.
|
||||
* tree.c (attribute_value_equal): Export.
|
||||
|
||||
2015-04-23 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* ipa-icf.c (sem_item::compare_attributes): New function.
|
||||
|
|
|
@ -4873,7 +4873,7 @@ simple_cst_list_equal (const_tree l1, const_tree l2)
|
|||
attribute values are known to be equal; otherwise return false.
|
||||
*/
|
||||
|
||||
static bool
|
||||
bool
|
||||
attribute_value_equal (const_tree attr1, const_tree attr2)
|
||||
{
|
||||
if (TREE_VALUE (attr1) == TREE_VALUE (attr2))
|
||||
|
|
|
@ -3888,6 +3888,8 @@ extern tree build_type_attribute_variant (tree, tree);
|
|||
extern tree build_decl_attribute_variant (tree, tree);
|
||||
extern tree build_type_attribute_qual_variant (tree, tree, int);
|
||||
|
||||
extern bool attribute_value_equal (const_tree, const_tree);
|
||||
|
||||
/* Return 0 if the attributes for two types are incompatible, 1 if they
|
||||
are compatible, and 2 if they are nearly compatible (which causes a
|
||||
warning to be generated). */
|
||||
|
|
Loading…
Reference in New Issue