]> git.ipfire.org Git - thirdparty/gcc.git/commit
gigi.h (fill_vms_descriptor): Take GNU_TYPE instead of GNAT_FORMAL.
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 3 Feb 2011 13:19:38 +0000 (13:19 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 3 Feb 2011 13:19:38 +0000 (13:19 +0000)
commit31a5a547502886b0969824dbafe3cc6c47121894
tree9167b15080830b6d4c3189773eafb6d54b67f535
parent6479ed4b0718c1032a5b4ff926897a63cb935c14
gigi.h (fill_vms_descriptor): Take GNU_TYPE instead of GNAT_FORMAL.

* gcc-interface/gigi.h (fill_vms_descriptor): Take GNU_TYPE instead of
GNAT_FORMAL.
* gcc-interface/utils2.c (fill_vms_descriptor): Move from here to...
* gcc-interface/utils.c (fill_vms_descriptor): ...here.  Take GNU_TYPE
instead of GNAT_FORMAL.  Protect the expression against multiple uses.
Do not generate the check directly, instead instantiate the template
check present in the descriptor.
(make_descriptor_field): Move around.
(build_vms_descriptor32): Build a template check in the POINTER field.
(build_vms_descriptor): Remove useless suffixes.
* gcc-interface/trans.c (call_to_gnu): Adjust fill_vms_descriptor call.

From-SVN: r169788
gcc/ada/ChangeLog
gcc/ada/gcc-interface/gigi.h
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils.c
gcc/ada/gcc-interface/utils2.c