]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/13574 (array default initializer in class lets gcc consume all memory and...
authorMark Mitchell <mark@codesourcery.com>
Fri, 16 Jan 2004 19:28:11 +0000 (19:28 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 16 Jan 2004 19:28:11 +0000 (19:28 +0000)
commita8e6c82ab09c4c7a8490bc3861049b1941b84c75
tree74c2145e4dc295abb5383c732901c635ffbfe5e7
parent965514bd92689acdf4d64d47c9905099a1c7b829
re PR c++/13574 (array default initializer in class lets gcc consume all memory and die)

PR c++/13574
* decl.c (compute_array_index_type): Fix grammar in comment.
* init.c (build_zero_init): Handle zero-sized arrays correctly.

PR c++/13574
* g++.dg/ext/array1.C: New test.

From-SVN: r75991
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/array1.C [new file with mode: 0644]