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++/28269
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cp
/
parser.c
diff --git
a/gcc/cp/parser.c
b/gcc/cp/parser.c
index
81000bf
..
a2d41f1
100644
(file)
--- a/
gcc/cp/parser.c
+++ b/
gcc/cp/parser.c
@@
-10247,6
+10247,9
@@
cp_parser_elaborated_type_specifier (cp_parser* parser,
}
}
+ if (type == error_mark_node)
+ return error_mark_node;
+
/* Allow attributes on forward declarations of classes. */
if (attributes)
{