re PR c++/81013 (ICE with invalid union in class hierarchy)
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 18 Jan 2018 17:11:43 +0000 (17:11 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 18 Jan 2018 17:11:43 +0000 (17:11 +0000)
commit50b27938f70819e2453bcd72a80a6a4c2b9e2fcb
treec19191d92f8a1319273979ed172ebc3d4d215ebf
parent9f7b87cad7c110dc656b4f201782819633dae2cf
re PR c++/81013 (ICE with invalid union in class hierarchy)

/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.

From-SVN: r256856
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/union3.C [new file with mode: 0644]