OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR c++/24260
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cp
/
parser.c
diff --git
a/gcc/cp/parser.c
b/gcc/cp/parser.c
index
300c266
..
25f25ce
100644
(file)
--- a/
gcc/cp/parser.c
+++ b/
gcc/cp/parser.c
@@
-10938,7
+10938,7
@@
cp_parser_init_declarator (cp_parser* parser,
}
decl = grokfield (declarator, decl_specifiers,
initializer, /*asmspec=*/NULL_TREE,
-
/*attributes=*/NULL_TREE
);
+
prefix_attributes
);
if (decl && TREE_CODE (decl) == FUNCTION_DECL)
cp_parser_save_default_args (parser, decl);
}