This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/15262] [tree-ssa] Alias analyzer cannot handle addressable fields
- From: "dnovillo at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 May 2004 14:54:13 -0000
- Subject: [Bug optimization/15262] [tree-ssa] Alias analyzer cannot handle addressable fields
- References: <20040503142200.15262.dnovillo@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dnovillo at redhat dot com 2004-05-03 14:53 -------
Subject: Re: [tree-ssa] Alias analyzer cannot
handle addressable fields
On Mon, 2004-05-03 at 10:50, pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-03 14:50 -------
> After disabling the lowering I get:
>
> *&locp->nextc = str;
> return locp->nextc;
>
> which is right but causes not code generation.
>
I see. However, that only papers over the alias bug. We'll probably
need to make the test case more complex to disallow the propagation of
&PTR->FIELD into its dereference site.
Diego.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15262