diff options
author | Mark Mitchell <mark@codesourcery.com> | 2006-06-16 18:45:50 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2006-06-16 18:45:50 +0000 |
commit | 75a829785fbfeedcb435e7aa3b43d96ad44926b0 (patch) | |
tree | a5987a2bada0d0170ebd18a2d701ef8877ae09f6 /gcc/tree-iterator.h | |
parent | 04879af33dfc9bee6ef86b01f83e8554f23690a0 (diff) | |
download | gcc-75a829785fbfeedcb435e7aa3b43d96ad44926b0.zip gcc-75a829785fbfeedcb435e7aa3b43d96ad44926b0.tar.gz gcc-75a829785fbfeedcb435e7aa3b43d96ad44926b0.tar.bz2 |
re PR c++/27884 (bogus error: invalid use of 'register' in linkage specification)
PR c++/27884
* decl.c (have_extern_spec): Remove.
(start_decl): Do not check have_extern_spec.
(start_function): Likewise.
* cp-tree.h (have_extern_spec): Remove.
* parser.c (cp_parser_linkage_specification): Don't set
have_extern_spec.
(cp_parser_init_declarator): Likewise.
(cp_parser_parameter_declaration): Do not treat parameters as
within the scope of an unbraced linkage specification.
PR c++/27884
* g++.dg/parse/linkage2.C: New test
From-SVN: r114727
Diffstat (limited to 'gcc/tree-iterator.h')
0 files changed, 0 insertions, 0 deletions