------- Comment #2 from steven at gcc dot gnu dot org 2006-10-14 14:19 ------- We should actually emit DW_AT_calling_convention for the main program. The DW_AT_entry_point attribute is for alternate entries, which, yes, we should also emit but don't.
G77 also never got this right. -- steven at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Summary|gfortran does not emit |gfortran does not emit |DW_AT_entry_point (dwarf-2) |DW_AT_entry_point (dwarf-2) |or N_MAIN (stabs) debugging |debugging info |info | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23280