re PR c++/14179 (out of memory while parsing array with many initializers)
authorGiovanni Bajo <giovannibajo@gcc.gnu.org>
Mon, 20 Sep 2004 23:05:40 +0000 (23:05 +0000)
committerGiovanni Bajo <giovannibajo@gcc.gnu.org>
Mon, 20 Sep 2004 23:05:40 +0000 (23:05 +0000)
commit3d142be23b9b1ce6a479a9c4ef836a3a79d6a650
tree53a7abf22815133d05ec46e39d738987dca3e92f
parent2c82eecc7896f50079c2e333fa1d0f76afdbfabf
re PR c++/14179 (out of memory while parsing array with many initializers)

PR c++/14179
* decl.c (reshape_init): Extract array handling into...
(reshape_init_array): New function. Use integers instead of trees
for indices. Handle out-of-range designated initializers.

From-SVN: r87777
gcc/cp/ChangeLog
gcc/cp/decl.c