This is the mail archive of the
mailing list for the GCC project.
Re: [C++] More fun with constructors and latent bugs
Steven Bosscher <email@example.com> writes:
| On Friday 17 December 2004 03:06, Gabriel Dos Reis wrote:
| > | * init.c (build_zero_init): max_index is the number of
| > | elements, minus 1.
| > What are the design rationale behind this choice
| That's just C/C++ I guess. I don't think it's very pretty, either,
| but the C style array upper bound is exclusive, so you have to do
| this :-/
I was unclwar. I wanted to understand why TYPE_DOMAIN for an
array is designed that way.