"Richard Guenther" <richard.guenther@gmail.com> wrote on 20/02/2007
12:21:48:
> On 2/19/07, Eric Botcazou <ebotcazou@adacore.com> wrote:
> > > Yes, I somehow missed these yesterday. It happens on powerpc too. I
will
> > > change the test case on 4.1, if there is no objection.
> >
> > I'm also seeing warnings on the 4.1 branch:
> >
> > /home/eric/gnat/gnat6_41/src/gcc/tree-ssa-alias.c: In function
> > 'may_aliases_intersect':
> > /home/eric/gnat/gnat6_41/src/gcc/tree-ssa-alias.c:2314: warning:
implicit
> > declaration of function 'pointer_set_create'
> > /home/eric/gnat/gnat6_41/src/gcc/tree-ssa-alias.c:2314: warning:
> > initializationmakes pointer from integer without a cast
> > /home/eric/gnat/gnat6_41/src/gcc/tree-ssa-alias.c:2316: warning:
> > initializationfrom incompatible pointer type
> > /home/eric/gnat/gnat6_41/src/gcc/tree-ssa-alias.c:2317: warning:
> > initializationfrom incompatible pointer type
> > /home/eric/gnat/gnat6_41/src/gcc/tree-ssa-alias.c:2323: warning:
implicit
> > declaration of function 'pointer_set_insert'
> > /home/eric/gnat/gnat6_41/src/gcc/tree-ssa-alias.c:2328: warning:
implicit
> > declaration of function 'pointer_set_contains'
> > /home/eric/gnat/gnat6_41/src/gcc/tree-ssa-alias.c:2330: warning:
implicit
> > declaration of function 'pointer_set_destroy'
>
> Not only warnings, but the branch is broken now, as may_aliases ()
returns
> a varray on the branch but you now have
>
> VEC(tree,gc) *may_aliases1 = may_aliases (tag1);
Yes, I noticed that myself, and I was working on a fix. I am attaching it.
>
> Please revert the patch.
I can revert it, but maybe it's better to commit the fix?