[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] AVR-Gcc and overflow behavior

From: John Regehr
Subject: Re: [avr-gcc-list] AVR-Gcc and overflow behavior
Date: Tue, 15 Apr 2008 16:54:07 -0600 (MDT)

Unsigned overflow is always OK. Signed overflow is undefined behavior (no better--in principle at least--than accessing beyond an array bound) unless you use the -fwrapv flag.

John Regehr

reply via email to

[Prev in Thread] Current Thread [Next in Thread]