diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2008-08-12 19:38:02 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2008-08-12 19:38:02 +0000 |
commit | 905319d95e57f935e3f7fab102901334ee0afa02 (patch) | |
tree | f5ba16fa5d24529bdc3f1e9c02895e3b3e7ea501 /gcc/c-parser.c | |
parent | 4d2b059d5e51c6cd6cca3cc775268039657d3317 (diff) | |
download | gcc-905319d95e57f935e3f7fab102901334ee0afa02.zip gcc-905319d95e57f935e3f7fab102901334ee0afa02.tar.gz gcc-905319d95e57f935e3f7fab102901334ee0afa02.tar.bz2 |
re PR c++/37087 (Segfault on compiling template defined in wrong namespace.)
/cp
2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/37087
* parser.c (cp_parser_class_head): Early return error_mark_node in
case of global qualification of class name or qualified name that
does not name a class.
/testsuite
2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/37087
* g++.dg/template/crash80.C: New.
* g++.old-deja/g++.other/decl5.C: Adjust.
From-SVN: r139034
Diffstat (limited to 'gcc/c-parser.c')
0 files changed, 0 insertions, 0 deletions