This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Work around bogous ADDR_EXPRs in tree-inline.c
On 5/18/05, Richard Henderson <rth@redhat.com> wrote:
> On Wed, May 18, 2005 at 02:55:16PM +0200, Richard Guenther wrote:
> > * tree-inline.c (copy_body_r): Manually fold *& to deal
> > with ADDR_EXPRs with mismatched types for now.
>
> Ok.
Note that as a refinement, I'll change the else branch to
! else
! *tp = build1 (INDIRECT_REF, TREE_TYPE (TREE_TYPE
((tree)n->value)),
! (tree)n->value);
to not generate a bogous INDIRECT_REF. I also will apply usual
bootstrap and regtesting before installing this.
Thanks,
Richard.