bounds checking and traps

Zack Weinberg zack@codesourcery.com
Fri Aug 13 17:19:00 GMT 2004


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?  Even less need for it to be any
specific trap, then.

zw



More information about the Gcc mailing list