OSDN Git Service

/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 May 2010 19:31:47 +0000 (19:31 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 May 2010 19:31:47 +0000 (19:31 +0000)
commit976d38860d53e2fc538d130de111346d5e62682f
tree93586309a1e69fad6850fcdda7006587407edb92
parent5a07954978fa9cd9e64a987b7c57b917c759e822
/cp
2010-05-20  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/30298
* decl.c (xref_basetypes): Return false in case of ill-formed
redefinition.

/testsuite
2010-05-20  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/30298
* g++.dg/inherit/crash1.C: New.
* g++.dg/inherit/crash2.C: Likewise.

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