diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2014-05-20 13:30:40 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2014-05-20 13:30:40 +0000 |
commit | bdb5a9a30cf2074db776dc282ebdb135f25c36f0 (patch) | |
tree | d29484697370877d0d243dce67d839ba214c6e9a /gcc/tree.h | |
parent | e9ea51852552d10fda782a2892f735a85d183368 (diff) | |
download | gcc-bdb5a9a30cf2074db776dc282ebdb135f25c36f0.zip gcc-bdb5a9a30cf2074db776dc282ebdb135f25c36f0.tar.gz gcc-bdb5a9a30cf2074db776dc282ebdb135f25c36f0.tar.bz2 |
re PR c++/58664 ([c++11] ICE initializing array of incomplete type within union)
/cp
2014-05-20 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/58664
* typeck2.c (cxx_incomplete_type_inform): New.
(cxx_incomplete_type_diagnostic): Use it.
* decl.c (grokdeclarator): Check the element type of an
incomplete array type; call the above.
* cp-tree.h (cxx_incomplete_type_inform): Declare.
/testsuite
2014-05-20 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/58664
* g++.dg/cpp0x/nsdmi-union6.C: New.
* g++.dg/parse/pr58664.C: Likewise.
* g++.dg/cpp0x/nsdmi6.C: Tweak.
* g++.dg/parse/crash31.C: Likewise.
* g++.dg/template/error2.C: Likewise.
* g++.dg/template/inherit8.C: Likewise.
* g++.dg/template/offsetof2.C: Likewise.
From-SVN: r210642
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions