/cp
commitd3d28fc83872d7bc1de2344902165e8d8c571f0c
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jan 2018 17:11:43 +0000 (18 17:11 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jan 2018 17:11:43 +0000 (18 17:11 +0000)
treec19191d92f8a1319273979ed172ebc3d4d215ebf
parentcc81776e88ed94d0d283c1e7ceebfa916d6c530b
/cp
2018-01-18  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/81013
* decl.c (xref_basetypes): Early return upon error about derived
union.

/testsuite
2018-01-18  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/81013
* g++.dg/inherit/union3.C: New.

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