Fortran currently lowercases all the identifiers for DWARF.
In such case it should set DW_AT_identifier_case = DW_ID_down_case.
GDB currently assumes DW_ID_down_case for DW_LANG_Fortran* which is incorrect,
consumer should always default to DW_ID_case_sensitive according to DWARF4.

Fortran should preserve source file case
and set DW_AT_identifier_case = DW_ID_case_insensitive
GDB currently does not support it though, it is filed as:
http://sourceware.org/bugzilla/show_bug.cgi?id=11560


-- 
           Summary: fortran: Use DW_AT_identifier_case
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jan dot kratochvil at redhat dot com


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

Reply via email to