]> git.ipfire.org Git - thirdparty/gcc.git/commit
decl.c (gnat_to_gnu_entity): Factor out common code processing the component type...
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 29 Sep 2009 11:13:29 +0000 (11:13 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 29 Sep 2009 11:13:29 +0000 (11:13 +0000)
commit2cac601721e8392d218671dd86a4aacb78cd71c1
treeeb7c1207865071fcf83aa222a4d9c07827f8882c
parent95c1c4bb9ae848b5b801dace9f32c8460430aaa8
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
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c