OSDN Git Service

* gcc-interface/decl.c (gnat_to_gnu_entity): Compute is_type predicate
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Apr 2009 07:57:09 +0000 (07:57 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Apr 2009 07:57:09 +0000 (07:57 +0000)
commita002cb9948e39a798b151b0629d63cbb66d22337
tree4d38300c733c45da31a1586e79179ec7f40fc2b0
parent91e9f690e5b67412312d73c9da36be8f72389fa9
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146549 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/utils.c