/cp
commit558c800d05a7cca47b4d6ff86ecd832fc64c0dba
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Jun 2016 07:10:58 +0000 (4 07:10 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Jun 2016 07:10:58 +0000 (4 07:10 +0000)
tree37289a706dfdb57baeedcfe25a9a8a3bfb1970af
parent20aa934cb807eb43298f22db8ed7431f483f21c1
/cp
2016-06-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/70202
* parser.c (cp_parser_class_head): When xref_basetypes fails and
emits an error do not zero the type.

/testsuite
2016-06-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/70202
* g++.dg/inherit/crash5.C: New.
* g++.dg/inherit/virtual1.C: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237089 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/crash5.C [new file with mode: 0644]
gcc/testsuite/g++.dg/inherit/virtual1.C