On 5/7/2021 5:09 AM, Eric Botcazou wrote:
Hi,

this makes add_subscript_info query the get_array_descr_info hook for the
actual information when it is defined.

Tested on x86-64/Linux, OK for mainline?


2021-05-07  Eric Botcazou  <ebotca...@adacore.com>

        * dwarf2out.c (add_subscript_info): Retrieve the bounds and the index
        type by means of the get_array_descr_info langhook, if it is set and
        returns true.  Remove obsolete code dealing with unnamed subtypes.


2021-05-07  Eric Botcazou  <ebotca...@adacore.com>

        * gnat.dg/debug18.adb: New test.

OK

jeff


Reply via email to