diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-12-15 21:45:53 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-12-15 21:45:53 +0100 |
commit | e1b750d87ff09d884637a654624422bd2f249fbc (patch) | |
tree | f79e3741ce00ddee62d30f489f085e67f8c86985 /gcc/tree-vect-patterns.c | |
parent | 666b67b1b98d4587c6f687b246109117b1fe5ebc (diff) | |
download | gcc-e1b750d87ff09d884637a654624422bd2f249fbc.zip gcc-e1b750d87ff09d884637a654624422bd2f249fbc.tar.gz gcc-e1b750d87ff09d884637a654624422bd2f249fbc.tar.bz2 |
re PR c++/51463 ([c++0x] [4.7 Regression] ICE declaring a member function virtual and static)
PR c++/51463
* decl.c (grokdeclarator): Set DECL_INITIAL of decl
to error_mark_node to disallow NSDMI if declspecs->storage_class
is sc_static.
* parser.c (cp_parser_late_parse_one_default_arg): Return early
if default_arg is error_mark_node.
* g++.dg/cpp0x/pr51463.C: New test.
From-SVN: r182387
Diffstat (limited to 'gcc/tree-vect-patterns.c')
0 files changed, 0 insertions, 0 deletions