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
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment