This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Will backend ever see an memory operand with address wrap around?
On Sun, May 13, 2012 at 6:17 PM, <amylaar@spamcop.net> wrote:
> Quoting "H.J. Lu" <hjl.tools@gmail.com>:
>
>> What is the expect run-time behavior when a + b has
>> overflow/underflow?
>
>
> The expectation is wrap-around. ?Note that loop strenght reduction can
> cause assumed wrap-around semantics in RTL for strictly conforming C input
> where no such wrap-around is in evidence.
I noticed that also. But my impression is loop strength reduction doesn't
use wrap-around address for load/store directly.
--
H.J.