dwarf2out.c (gen_compile_unit_die): Fallout to DW_LANG_Ada83 for Ada with strict...
authorOlivier Hainque <hainque@adacore.com>
Mon, 11 Jun 2018 09:42:54 +0000 (09:42 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Mon, 11 Jun 2018 09:42:54 +0000 (09:42 +0000)
commit5cfcd771472e8e99f69e11e601d9adb740a762de
tree42ef47589c217b8693df3d8ee58130d4b5627f09
parent259cc9a7e0b0feae750601ace489f2cb1fbb8f80
dwarf2out.c (gen_compile_unit_die): Fallout to DW_LANG_Ada83 for Ada with strict dwarf2.

2018-06-11  Olivier Hainque  <hainque@adacore.com>

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

testsuite/

        * gnat.dg/lang-dw2.adb: New test.
        * gnat.dg/lang-dw3.adb: New test.

From-SVN: r261432
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/langdw2.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/langdw3.adb [new file with mode: 0644]