[Bug algol68/122964] Algol68 sets DWARF DW_AT_language_version to zero

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 3 14:42:24 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122964

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jose E. Marchesi <jemarch@gcc.gnu.org>:

https://gcc.gnu.org/g:243736b98f1b781894bf4619dc1e98d02318f1c9

commit r16-5867-g243736b98f1b781894bf4619dc1e98d02318f1c9
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date:   Wed Dec 3 15:16:55 2025 +0100

    a68: set LVERSION for Algol 68 and fix guard [PR algol68/122964]

    This commits sets LVERSION for Algol 68 to 1978, which is the year of
    the publication of the Revised Report that defines the revised
    language.

    It also fixes the guard so LANGUAGE, LNAME and LVERSION is only
    emitted when generating DWARF5 or later.

    Signed-off-by: Jose E. Marchesi <jemarch@gnu.org>

    gcc/ChangeLog

            PR algol68/122964
            * dwarf2out.cc (gen_compile_unit_die): Set LVERSION to 1978 for
            Algol 68 and add dwarf_version >= 5 to guard.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Algol68 mailing list