This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada PATCH] don't modify record fields in update_pointer_to
- From: Duncan Sands <baldrick at free dot fr>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Arnaud Charlet <charlet at adacore dot com>
- Date: Sun, 10 Jun 2007 19:01:55 +0200
- Subject: Re: [Ada PATCH] don't modify record fields in update_pointer_to
- References: <200702211356.45659.baldrick@free.fr> <200706092325.12326.ebotcazou@adacore.com> <200706101659.37060.ebotcazou@adacore.com>
Hi Eric,
On Sunday 10 June 2007 16:59:36 Eric Botcazou wrote:
> > What do you think? At least it's clean on ACATS.
>
> And clean everywhere. Attached is the patch I propose to apply. OK with you?
it looks good to me - thanks a lot!
> 2007-06-10 Duncan Sands <baldrick@free.fr>
>
> * decl.c (gnat_to_gnu_entity): Use pointers to dummy nodes, rather than
> to void, for the fields when making a new fat pointer type.
> (gnat_substitute_in_type): Now substitute_in_type.
> * gigi.h (gnat_substitute_in_type): Likewise.
> * trans.c (gnat_gimplify_expr): Remove COMPONENT_REF kludge.
> * utils.c (update_pointer_to): Update fat pointers by updating the dummy
> node pointers used for the fields.
>
> Btw, can you confirm again that you have a copyright assignment on file?
Yes it is on file.
Ciao,
Duncan.