This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [4.0 PATCH] Fix PR c++/18384
- From: Richard Henderson <rth at gcc dot gnu dot org>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Roger Sayle <roger at eyesopen dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 10 Mar 2005 05:49:32 -0800
- Subject: Re: [4.0 PATCH] Fix PR c++/18384
- References: <20050310003201.GM853@devserv.devel.redhat.com>
On Wed, Mar 09, 2005 at 07:32:02PM -0500, Jakub Jelinek wrote:
> PR c++/18384, c++/18327
> * decl.c (reshape_init_array): Use UHWI type for max_index_cst
> and index. Convert max_index to size_type_node if it isn't
> host_integerp (, 1).
>
> * g++.dg/init/array18.C: New test.
Ok by me.
r~