re PR c++/8160 (ICE in build_modify_expr, at cp/typeck.c:5494: Array initialization)
authorMark Mitchell <mark@codesourcery.com>
Thu, 31 Oct 2002 00:04:12 +0000 (00:04 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 31 Oct 2002 00:04:12 +0000 (00:04 +0000)
commit8c081e84f7b8dbc477c62c5a16834e2f6ce9d095
tree74cb4f2dd20fa6d242447fa4a4194d8b4f40e4fb
parent9402f6fb7450c77691ef079abae90b2130a65117
re PR c++/8160 (ICE in build_modify_expr, at cp/typeck.c:5494: Array initialization)

PR c++/8160
* typeck2.c (process_init_constructor): Call complete_array_type.

PR c++/8149
* decl.c (make_typename_type): Issue errors about invalid results.

PR c++/8160
* g++.dg/template/complit1.C: New test.

PR c++/8149
* g++.dg/template/typename4.C: Likewise.

From-SVN: r58663
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/complit1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/typename4.C [new file with mode: 0644]