[patch middle-end c c++]: Optimize cost of comp_type_attributes

Jason Merrill jason@redhat.com
Fri Mar 25 09:34:00 GMT 2011


On 03/24/2011 08:44 PM, Kai Tietz wrote:
> +static bool
> +attribute_value_equal (const_tree attr1, const_tree attr2)
> +{
> +  if (attr1 == attr2)
> +    return true;

I still think this test should be comparing TREE_VALUEs.

Jason



More information about the Gcc-patches mailing list