Hi Jakub,

> On 07 Jun 2018, at 10:36, Jakub Jelinek <ja...@redhat.com> wrote:

> The whole point of -gstrict-dwarf is that it doesn't allow any extensions,
> and DW_LANG_Ada83/DW_LANG_Ada95 only appeared in DWARF3.

Actually, according to

  http://wiki.dwarfstd.org/index.php?title=DWARF_Language_Support

DW_LANG_Ada83 is dwarf-2 and DW_LANG_Ada95 is dwarf-3.

So what about the attached variant instead ? I can add test if needed.

Thanks in advance,

With Kind Regards,

Olivier

2018-06-10  Olivier Hainque  <hain...@adacore.com>

        * dwarf2out.c (gen_compile_unit_die): fallout to DW_LANG_Ada83
        for Ada with strict dwarf2.

Attachment: dw2-ada83.diff
Description: Binary data

Reply via email to