Commit 2cac6017 by Eric Botcazou Committed by Eric Botcazou

decl.c (gnat_to_gnu_entity): Factor out common code processing the component type into...

	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Factor out
	common code processing the component type into...
	<E_Array_Subtype>: Likewise.
	(gnat_to_gnu_component_type): ...this new static function.
	(maybe_pad_type): Minor cleanup.

From-SVN: r152273
parent 95c1c4bb
2009-09-29 Eric Botcazou <ebotcazou@adacore.com> 2009-09-29 Eric Botcazou <ebotcazou@adacore.com>
* decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Rewrite the handling * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Factor out
of constrained discriminated record subtypes. common code processing the component type into...
<E_Array_Subtype>: Likewise.
(gnat_to_gnu_component_type): ...this new static function.
(maybe_pad_type): Minor cleanup.
2009-09-29 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Rewrite
the handling of constrained discriminated record subtypes.
(components_to_record): Declare the type of the variants and of the (components_to_record): Declare the type of the variants and of the
qualified union. qualified union.
(build_subst_list): Move around. (build_subst_list): Move around.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment