[Bug algol68/122964] Algol68 sets DWARF DW_AT_language_version to zero
mark at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 2 17:30:06 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122964
--- Comment #2 from Mark Wielaard <mark at gcc dot gnu.org> ---
Please do define what Algol68 standard versions there are.
And how to interpret "zero" (if you keep emitting that).
This is helpful for elfutils libdw dwarf_language:
/* Provides the DW_LNAME source language and version of the given CU
DIE. LVERSION may be NULL. Returns zero on success. */
extern int dwarf_language (Dwarf_Die *cudie,
Dwarf_Word *lname,
Dwarf_Word *lversion) __nonnull_attribute__ (2);
This function also works if the cudie only has an DW_AT_language code,
which will be translated into a lname and lversion pair. Currently it
returns DW_LNAME_Algol68 and 0 for DW_LANG_Algol68. It would be good to
know if the lversion really should be 1968 instead.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Algol68
mailing list