[Dwarf-discuss] Default Lower Bound for Ada{2005,2012}

Jakub Jelinek jakub@redhat.com
Fri Nov 22 10:47:57 GMT 2024


Hi!

Similarly to the Fortran cases,
https://dwarfstd.org/languages.html
DW_LANG_Ada83 	0x0003 	1
DW_LANG_Ada95 	0x000d 	1
DW_LANG_Ada2005 	0x002e 	0
DW_LANG_Ada2012 	0x002f 	0

I admit I know nothing about Ada (CCing Tom if he can clarify), but I'd find it
unexpected if Ada 83/95 defaulted to lower bound 1 and Ada 2005/2012 all of
sudden switched to lower bound 0.

https://dwarfstd.org/languages-v6.html
says
ISO Ada 	DW_LNAME_Ada 	0x0001 	1 	YYYY
and so has lower bound default 1 for all versions.

	Jakub



More information about the Dwarf-discuss mailing list