This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A question about redudant load elimination
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Richard Guenther <richard dot guenther at gmail dot com>
- Cc: gcc at gcc dot gnu dot org, Jiangning Liu <jiangning dot liu at arm dot com>
- Date: Wed, 16 Nov 2011 12:32:11 +0100
- Subject: Re: A question about redudant load elimination
- References: <4ec0cb02.a424440a.6fba.ffffb618SMTPIN_ADDED@mx.google.com> <CAFiYyc1enGX_gk0swvaXc9t=YUMUvJiZ-EidL3KRXT9TqDaZ1A@mail.gmail.com>
> f() may change the value of x, so you cannot optimize away the load on that
> execution path.
This looks more like an aliasing issue with a, doesn't it?
--
Eric Botcazou