This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C PATCH] PR25309: unsigned HOST_WIDE_INT array indices in diagnostics
On Wed, Apr 26, 2006 at 08:02:03PM -0600, Roger Sayle wrote:
> If you'd prefer, I'm happy to change the above line to read
> "tree_low_cst (constructor_index, 1)" ...
Yes please.
> My thinking was to make this aspect of the compiler "fail-soft",
> removing the assertion and instead always treating the array index
> as effectively modulo "unsigned HOST_WIDE_INT" for error messages.
Am I confused? I thought this push was used for more than just error
messages; that it was also used for generating indicies.
r~