[cfe-dev] -ftrapv

Chris Lattner clattner at apple.com
Wed Apr 1 20:28:09 PDT 2009


On Apr 1, 2009, at 6:06 PM, Mike Stump wrote:

> On Apr 1, 2009, at 3:54 PM, David Chisnall wrote:
>> Missed a bit.  The overflow-aware code is called on += and so on,
>> but didn't know about these cases.  This patch fixes it.
>
> Checked in r68267.
>
>> I'm now using this
>
> You will need to use -ftrapu for SmallTalk.  -ftrapv is for signed
> values only.

FYI, it is completely inappropriate for Clang to support a -ftrapu  
option for SmallTalk.  Please remove this.

-Chris




More information about the cfe-dev mailing list