[PATCH] Document arithmetic overflow semantics

Nathan Sidwell nathan@codesourcery.com
Fri Feb 14 18:51:00 GMT 2003


Joe Buck wrote:

> For floating point, a signaling NaN can be used.  For integers,
> 0xdeadbeef or some such.
> 
> [ cases where gcc can't figure out that a variable is uninitialized ]
> 
> 
>>>Despite the small cost, this could be a real help to some people...
>>
> 
> It should be possible to turn the feature off.
turned on at -O0, off at other levels?

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
          The voices in my head said this was stupid too
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org




More information about the Gcc mailing list