decl.c (gnat_to_gnu_entity): Remove useless 'else' statements and tidy up.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 6 Jun 2016 09:26:07 +0000 (09:26 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 6 Jun 2016 09:26:07 +0000 (09:26 +0000)
commitd5ebeb8c1b41ad58235374766579fb8c6cf1297b
tree9422b441779d5c1c3325ca70c21c4637227cb4e5
parent4d9446f9c071edf7fad4a58267009fdd190de9d2
decl.c (gnat_to_gnu_entity): Remove useless 'else' statements and tidy up.

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Component>: Remove
useless 'else' statements and tidy up.
<E_Array_Subtype>: Fully deal with the declaration here.
<E_Incomplete_Type>: Use properly-typed constant.
Assert that we don't apply the special type treatment to dummy types.
Separate this treatment from the final back-annotation and simplify
the condition for the RM size.
(gnat_to_gnu_param): Add GNU_PARAM_TYPE parameter and adjust.
(gnat_to_gnu_subprog_type): Ajust call to gnat_to_gnu_param.
* gcc-interface/trans.c (gnat_to_gnu) <N_Subprogram_Declaration>: Add
comment.
(process_freeze_entity): Remove obsolete code.
(process_type): Minor tweaks.

From-SVN: r237122
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/trans.c