gcc-ss-20000807: Internal error on hppa2.0n-hp-hpux11.00

John David Anglin dave.anglin@nrc.ca
Thu Aug 10 20:43:00 GMT 2000


> +#ifdef ARGS_GROW_DOWNWARD
> +       i += stored_args_map->n_bits;
> +#endif
> +      if (i < 0)
> +        return 0;
> +
>        for (k = 0; k < GET_MODE_SIZE (GET_MODE (x)); k++)
>         if (i + k < stored_args_map->n_bits
>             && TEST_BIT (stored_args_map, i + k))

Jakub, there is likely a problem if i < 0.  The same may be true if i + k >= stored_args_map->n_bits.  I ran a complete bootstrap and check with my
original patch < http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00214.html >
with some debugging code installed and there were no out of range values.

Dave
--
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


More information about the Gcc-bugs mailing list