On 12/22/2015 09:32 PM, Martin Sebor wrote:
+ if (is_attribute_p ("aligned", name) + || is_attribute_p ("vector_size", name)) + { + /* Attribute argument may be a dependent indentifier. */ + if (tree t = args ? TREE_VALUE (args) : NULL_TREE) + if (value_dependent_expression_p (t) + || type_dependent_expression_p (t)) + return true; + }
Instead of this, is_late_template_attribute should be fixed to check attribute_takes_identifier_p.
Jason