This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bounds checking and traps
Zack Weinberg writes:
> Andrew Haley <aph@redhat.com> writes:
>
> > Zack Weinberg writes:
> > > This pattern, if defined, signals an error, typically by causing
> > > some kind of signal to be raised. Among other places, it is used by
> > > the Java front end to signal `invalid array index' exceptions.
> >
> > Huh? Hmm, didn't know that. Must review documentation...
>
> Oh, you don't use it for that?
No, but it sounds like it might be a good idea... :-)
Andrew.