public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/43950]  New: fortran: Use DW_AT_identifier_case
@ 2010-04-30 18:23 jan dot kratochvil at redhat dot com
  2010-04-30 19:20 ` [Bug debug/43950] " jakub at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-04-30 18:23 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug debug/43950] fortran: Use DW_AT_identifier_case
  2010-04-30 18:23 [Bug debug/43950] New: fortran: Use DW_AT_identifier_case jan dot kratochvil at redhat dot com
@ 2010-04-30 19:20 ` jakub at gcc dot gnu dot org
  2010-05-05 19:13 ` jakub at gcc dot gnu dot org
  2010-05-19 14:54 ` jakub at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-04-30 19:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jakub at gcc dot gnu dot org  2010-04-30 19:20 -------
Making the FE preserve the case would be very hard.  So, just posted a patch
to use DW_ID_down_case for Fortran.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-30 19:20:20
               date|                            |


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug debug/43950] fortran: Use DW_AT_identifier_case
  2010-04-30 18:23 [Bug debug/43950] New: fortran: Use DW_AT_identifier_case jan dot kratochvil at redhat dot com
  2010-04-30 19:20 ` [Bug debug/43950] " jakub at gcc dot gnu dot org
@ 2010-05-05 19:13 ` jakub at gcc dot gnu dot org
  2010-05-19 14:54 ` jakub at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-05-05 19:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2010-05-05 19:12 -------
Subject: Bug 43950

Author: jakub
Date: Wed May  5 19:11:16 2010
New Revision: 159077

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159077
Log:
        PR debug/43950
        * dwarf2out.c (gen_compile_unit_die): Add DW_AT_identifier_case
        DW_ID_down_case for Fortran compilation units.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug debug/43950] fortran: Use DW_AT_identifier_case
  2010-04-30 18:23 [Bug debug/43950] New: fortran: Use DW_AT_identifier_case jan dot kratochvil at redhat dot com
  2010-04-30 19:20 ` [Bug debug/43950] " jakub at gcc dot gnu dot org
  2010-05-05 19:13 ` jakub at gcc dot gnu dot org
@ 2010-05-19 14:54 ` jakub at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-05-19 14:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2010-05-19 14:54 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.6.0


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-19 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-30 18:23 [Bug debug/43950] New: fortran: Use DW_AT_identifier_case jan dot kratochvil at redhat dot com
2010-04-30 19:20 ` [Bug debug/43950] " jakub at gcc dot gnu dot org
2010-05-05 19:13 ` jakub at gcc dot gnu dot org
2010-05-19 14:54 ` jakub at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).