bounds checking and traps
Zack Weinberg
zack@codesourcery.com
Fri Aug 13 08:28:00 GMT 2004
"Jan Beulich" <JBeulich@novell.com> writes:
>>Look for the code implementing __builtin_trap().
>
> Hmm - I'm not sure how I managed to overlook that.
>
>>i386.md can certainly contain OS-conditionalized code, if necessary,
>>but I think the problem is with your OS - this might as well be part
>>of the i386 ABI.
>
> There is no i386 ABI. There is an i386 SystemV ABI, an i386 Windows
> ABI, and a few (perhaps a lot) more.
Yah, and (this is what I'm saying, this is what I'm telling you) they
*all* define int #5 to have the same effect as #BR trap. Go on, prove
me wrong.
zw
More information about the Gcc
mailing list