[Ada PATCH] don't modify record fields in update_pointer_to
Eric Botcazou
ebotcazou@adacore.com
Sun Jun 10 17:21:00 GMT 2007
> 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?
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?
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: g604-004_fsf.diff
Type: text/x-diff
Size: 11381 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070610/a1182a53/attachment.bin>
More information about the Gcc-patches
mailing list