[Bug debug/38757] gcc does not emit DW_LANG_C99

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 18 10:59:00 GMT 2009



------- Comment #2 from jakub at gcc dot gnu dot org  2009-03-18 10:59 -------
BTW, related, we only generate DW_AT_prototyped attributes for DW_LANG_C89,
shouldn't we generate them also for DW_LANG_C99, DW_LANG_ObjC?

As lang_hooks are const, we can't modify lang_hooks.name depending on
-std={c,gnu}99 vs. -std={c,gnu}89 (for Fortran I think we don't support
-std=f77 or -std=f90, so there isn't a problem until Dwarf4 adds new
DW_LANG_Fortran* codes), so we'd need a langhook function that would return the
desired DW_LANG_* value or something like that.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38757



More information about the Gcc-bugs mailing list