Hi, while comitting previous patch, I frogot the attached change that exports attribute_value_equal. Comitted and my apologize for breakage.
Honza * tree.h (attribute_value_equal): Declare. * tree.c (attribute_value_equal): Export. Index: tree.h =================================================================== --- tree.h (revision 222292) +++ tree.h (working copy) @@ -3888,6 +3888,8 @@ extern tree build_type_attribute_variant 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). */ Index: tree.c =================================================================== --- tree.c (revision 222292) +++ tree.c (working copy) @@ -4873,7 +4873,7 @@ simple_cst_list_equal (const_tree l1, co 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))