Aliasing not honouring const?
Richard Guenther
richard.guenther@gmail.com
Tue Jan 25 17:12:00 GMT 2005
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.
More information about the Gcc
mailing list