This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r237122 - in /trunk/gcc/ada: ChangeLog gcc-inte...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 06 Jun 2016 09:26:07 -0000
- Subject: r237122 - in /trunk/gcc/ada: ChangeLog gcc-inte...
Author: ebotcazou
Date: Mon Jun 6 09:26:07 2016
New Revision: 237122
URL: https://gcc.gnu.org/viewcvs?rev=237122&root=gcc&view=rev
Log:
* 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.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/decl.c
trunk/gcc/ada/gcc-interface/trans.c