decl.c (gnat_to_gnu_entity): Also call finish_character_type on Character subtypes.
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 7 Dec 2016 11:25:37 +0000 (11:25 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 7 Dec 2016 11:25:37 +0000 (11:25 +0000)
commit2c1f5c0a344e2f127decf13eb851794401b54e29
treeefc3d68cffe4464a093b03e2fcf0fe887eb3b0cb
parentebf417348808be4608fd44ba3b2863b735b4324e
decl.c (gnat_to_gnu_entity): Also call finish_character_type on Character subtypes.

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Enumeration_Subtype>:
Also call finish_character_type on Character subtypes.
* gcc-interface/utils.c (finish_character_type): Deal with subtypes.

From-SVN: r243336
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/utils.c