PR c++/58816
* pt.c (apply_late_template_attributes): Use get_attribute_name,
not TREE_PURPOSE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203919
138bc75d-0d04-0410-961f-
82ee72b054a4
+2013-10-22 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/58816
+ * pt.c (apply_late_template_attributes): Use get_attribute_name,
+ not TREE_PURPOSE.
+
2013-10-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/58466
pass it through tsubst. Attributes like mode, format,
cleanup and several target specific attributes expect it
unmodified. */
- else if (attribute_takes_identifier_p (TREE_PURPOSE (t)))
+ else if (attribute_takes_identifier_p (get_attribute_name (t)))
{
tree chain
= tsubst_expr (TREE_CHAIN (TREE_VALUE (t)), args, complain,