From 313d62a349ecb8ad8a419783fe776c7ecd5384d0 Mon Sep 17 00:00:00 2001 From: bstarynk Date: Mon, 8 Oct 2012 12:32:37 +0000 Subject: 2012-10-08 Basile Starynkevitch MELT branch merged with trunk rev 192205 using svnmerge.py git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@192206 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/decl2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cp/decl2.c') diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 87e38d3bf6f..aad3d0b26f7 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -1091,7 +1091,7 @@ grokbitfield (const cp_declarator *declarator, static bool is_late_template_attribute (tree attr, tree decl) { - tree name = TREE_PURPOSE (attr); + tree name = get_attribute_name (attr); tree args = TREE_VALUE (attr); const struct attribute_spec *spec = lookup_attribute_spec (name); tree arg; -- cgit v1.2.1