This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Aliasing not honouring const?
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 25 Jan 2005 17:58:44 +0100
- Subject: Re: Aliasing not honouring const?
- References: <Pine.LNX.4.44.0501251646400.16464-100000@alwazn.tat.physik.uni-tuebingen.de>
- Reply-to: Richard Guenther <richard dot guenther at gmail dot com>
On Tue, 25 Jan 2005 16:54:58 +0100 (CET), Richard Guenther
<rguenth@tat.physik.uni-tuebingen.de> wrote:
> Hi!
>
> I don't know if I'm reading the tree-dumps right, but for
>
> int loc_test(void)
> {
> const Loc<2> dX(1, 0);
> Loc<2> k(0, 1);
> return k[0].first()+dX[0].first();
> }
As I have been reducing a POOMA testcase, I filed PR tree-optimization/19626
with an even more reduced testcase for this problem. Maybe this is / can be
solved on the structure aliasing branch.
Richard.