This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Aliasing not honouring const?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]