From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12109 invoked by alias); 29 Oct 2006 14:02:35 -0000 Received: (qmail 12075 invoked by uid 48); 29 Oct 2006 14:02:25 -0000 Date: Sun, 29 Oct 2006 14:02:00 -0000 Subject: [Bug fortran/29635] New: debug info of modules X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "fxcoudert at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-10/txt/msg02469.txt.bz2 List-Id: $ 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>: 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