]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/gcc-interface/utils.c
decl.c (gnat_to_gnu_entity): Compute is_type predicate on entry.
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 22 Apr 2009 07:57:09 +0000 (07:57 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 22 Apr 2009 07:57:09 +0000 (07:57 +0000)
commita8e05f922a087f545fb94f16687ec59b7d3dcdf5
tree4d38300c733c45da31a1586e79179ec7f40fc2b0
parent3ad606bc1137d266e492308ba884474b69069a5b
decl.c (gnat_to_gnu_entity): Compute is_type predicate on entry.

* gcc-interface/decl.c (gnat_to_gnu_entity): Compute is_type predicate
on entry.  Defer common processing for types.  Reorder and clean up.
Compute the equivalent GNAT node and the default size for types only.
<E_Modular_Integer_Type>: Directly use Esize for the type's precision.
<E_Access_Type>: For an unconstrained designated type, do not pretend
that a dummy type is always made.
<all> Fix nits in comments.
(validate_size): Fix formatting nits and comments.
(set_rm_size): Likewise.
* gcc-interface/utils.c (create_param_decl): Replace bogus argument
passed to TARGET_PROMOTE_PROTOTYPES hook.

From-SVN: r146549
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/utils.c
This page took 0.063975 seconds and 5 git commands to generate.