aboutsummaryrefslogtreecommitdiff
path: root/gcc/statistics.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2009-06-03 10:26:20 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2009-06-03 10:26:20 +0000
commit8cd281486b0025bd3a6f7f000e24be4a8d231e22 (patch)
treec833d0c3da4817c882c31a5e4d3f40ce6af59186 /gcc/statistics.c
parent2f2c62a01c83501641695f64c88139386552bd35 (diff)
downloadgcc-8cd281486b0025bd3a6f7f000e24be4a8d231e22.zip
gcc-8cd281486b0025bd3a6f7f000e24be4a8d231e22.tar.gz
gcc-8cd281486b0025bd3a6f7f000e24be4a8d231e22.tar.bz2
decl.c (substitution_list): Rename to build_subst_list, remove unused parameter and simplify.
* gcc-interface/decl.c (substitution_list): Rename to build_subst_list, remove unused parameter and simplify. (gnat_to_gnu_entity) <E_Record_Type>: Do not set TYPE_FIELDS. Factor common predicate. Rewrite loop for clarity. Use GNU_TYPE directly as context for all discriminants. Fix formatting nits. <E_Record_Subtype>: Add cosmetic 'break'. Test Has_Discriminants before Discriminant_Constraint. Adjust for above renaming. Do not set GNU_TYPE more than once. (elaborate_entity): Test Has_Discriminants on the entity and use Implementation_Base_Type. (components_to_record): Rename component_list to gnat_component_list. Retrieve the _Parent field from the list. Fix nits in comments. Clarify logic in loop. Pass correct arguments to create_field_decl. From-SVN: r148121
Diffstat (limited to 'gcc/statistics.c')
0 files changed, 0 insertions, 0 deletions