public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/29635]  New: debug info of modules
@ 2006-10-29 14:02 fxcoudert at gcc dot gnu dot org
  2006-10-29 14:04 ` [Bug fortran/29635] " steven at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2006-10-29 14:02 UTC (permalink / raw)
  To: gcc-bugs

$ cat a.f90 
module foo
  integer i
end module foo

use foo
print *, i
end
$ ifort -g -c a.f90 
$ readelf -wi a.o  
The section .debug_info contains:

  Compilation Unit @ offset 0x0:
   Length:        167
   Version:       2
   Abbrev Offset: 0
   Pointer Size:  4
 <0><b>: Abbrev Number: 1 (DW_TAG_compile_unit)
     DW_AT_comp_dir    : /tmp
     DW_AT_language    : 14     (Fortran 95)
     DW_AT_name        : a.f90
     DW_AT_producer    : Intel (R) Fortran Compiler Fixes RangesRelative

     DW_AT_stmt_list   : 0
 <1><4d>: Abbrev Number: 2 (DW_TAG_module)
     DW_AT_decl_line   : 1
     DW_AT_decl_column : 7
     DW_AT_decl_file   : 1
     DW_AT_name        : FOO
 <2><55>: Abbrev Number: 3 (DW_TAG_variable)
     DW_AT_decl_line   : 2
     DW_AT_decl_column : 11
     DW_AT_decl_file   : 1
     DW_AT_accessibility: 1     (public)
     DW_AT_name        : i
     DW_AT_type        : <68>
     DW_AT_location    : 5 byte block: 3 0 0 0 0        (DW_OP_addr: 0)
     DW_AT_external    : 1
 <1><68>: Abbrev Number: 4 (DW_TAG_base_type)
     DW_AT_byte_size   : 4
     DW_AT_encoding    : 5      (signed)
     DW_AT_name        : INTEGER(4)
 <1><76>: Abbrev Number: 4 (DW_TAG_base_type)
     DW_AT_byte_size   : 0
     DW_AT_encoding    : 5      (signed)
     DW_AT_name        : void
 <1><7e>: Abbrev Number: 5 (DW_TAG_subprogram)
     DW_AT_decl_line   : 6
     DW_AT_decl_column : 1
     DW_AT_decl_file   : 1
     DW_AT_calling_convention: 2        (program)
     DW_AT_accessibility: 1     (public)
     DW_AT_name        : main$a_$BLK
     DW_AT_type        : <76>
     DW_AT_prototyped  : 0
     DW_AT_high_pc     : 0x6a
     DW_AT_low_pc      : 0x6
     DW_AT_external    : 1
 <2><9e>: Abbrev Number: 6 (DW_TAG_imported_declaration)
     DW_AT_decl_line   : 6
     DW_AT_decl_column : 1
     DW_AT_decl_file   : 1
     DW_AT_import      : <55>


-- 
           Summary: debug info of modules
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: wrong-debug
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org
OtherBugsDependingO 24546
             nThis:


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


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

end of thread, other threads:[~2009-05-29  8:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-29 14:02 [Bug fortran/29635] New: debug info of modules fxcoudert at gcc dot gnu dot org
2006-10-29 14:04 ` [Bug fortran/29635] " steven at gcc dot gnu dot org
2007-01-02 14:35 ` fxcoudert at gcc dot gnu dot org
2007-01-02 15:27 ` stevenb dot gcc at gmail dot com
2007-08-11 22:09 ` dfranke at gcc dot gnu dot org
2007-08-12 10:36 ` stevenb dot gcc at gmail dot com
2008-08-15 18:30 ` jakub at gcc dot gnu dot org
2008-08-15 20:20 ` jakub at gcc dot gnu dot org
2008-08-18  8:13 ` jakub at gcc dot gnu dot org
2008-08-18  8:44 ` jakub at gcc dot gnu dot org
2008-08-18 12:40 ` drow at gcc dot gnu dot org
2008-08-29 18:43 ` jakub at gcc dot gnu dot org
2009-04-10 21:39 ` dfranke at gcc dot gnu dot org
2009-05-29  7:45 ` burnus at gcc dot gnu dot org
2009-05-29  8:52 ` 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).