gigi.h (maybe_debug_type): New inline function.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 16 Feb 2016 18:01:04 +0000 (18:01 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 16 Feb 2016 18:01:04 +0000 (18:01 +0000)
commit7005800cd120168075924fe4aa254b6f80c500c7
tree93b6a383eac0e03e24cd25a24772e2cd7d38691d
parent8c7eac6260ac801715a45c8c8ffad2dd96d77bac
gigi.h (maybe_debug_type): New inline function.

* gcc-interface/gigi.h (maybe_debug_type): New inline function.
* gcc-interface/misc.c (gnat_get_array_descr_info): Use it.
Call maybe_character_value on the array bounds.  Get to the base type
of the index type and call maybe_debug_type on it.
* gcc-interface/utils.c (finish_character_type): Add special treatment

From-SVN: r233469
gcc/ada/ChangeLog
gcc/ada/gcc-interface/gigi.h
gcc/ada/gcc-interface/misc.c
gcc/ada/gcc-interface/utils.c