[Bug debug/24070] New: Dwarf macro info has bad file numbers

2005-09-26 Thread jimb at redhat dot com
din
 DW_MACINFO_define - lineno : 148 macro : stdout stdout
 DW_MACINFO_define - lineno : 149 macro : stderr stderr
 DW_MACINFO_define - lineno : 449 macro : getc(_fp) _IO_getc (_fp)
 DW_MACINFO_define - lineno : 491 macro : putc(_ch,_fp) _IO_putc (_ch, _fp)
 DW_MACINFO_start_file - lineno: 751 filenum: 19
 DW_MACINFO_end_file
 DW_MACINFO_end_file
 DW_MACINFO_start_file - lineno: 3 filenum: 16
 DW_MACINFO_define - lineno : 34 macro : _STDARG_H 
 DW_MACINFO_define - lineno : 35 macro : _ANSI_STDARG_H_ 
 DW_MACINFO_undef - lineno : 37 macro : __need___va_list
 DW_MACINFO_define - lineno : 50 macro : va_start(v,l) __builtin_va_start(v,l)
 DW_MACINFO_define - lineno : 51 macro : va_end(v) __builtin_va_end(v)
 DW_MACINFO_define - lineno : 52 macro : va_arg(v,l) __builtin_va_arg(v,l)
 DW_MACINFO_define - lineno : 54 macro : va_copy(d,s) __builtin_va_copy(d,s)
 DW_MACINFO_define - lineno : 56 macro : __va_copy(d,s) __builtin_va_copy(d,s)
 DW_MACINFO_define - lineno : 111 macro : _VA_LIST_ 
 DW_MACINFO_define - lineno : 114 macro : _VA_LIST 
 DW_MACINFO_define - lineno : 117 macro : _VA_LIST_DEFINED 
 DW_MACINFO_define - lineno : 120 macro : _VA_LIST_T_H 
 DW_MACINFO_define - lineno : 123 macro : __va_list__ 
 DW_MACINFO_end_file
 DW_MACINFO_end_file


Since bugzilla won't let me include bad-macro-file.i, here is bad-macro-file.c;
I'll see if there's some way I can attach the .i file, or include it as a
separate comment or something.

#include 
#include 

int main () {}

-- 
   Summary: Dwarf macro info has bad file numbers
   Product: gcc
   Version: 4.0.1
        Status: UNCONFIRMED
  Severity: normal
      Priority: P2
 Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jimb at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org,jimb at redhat dot com
 GCC build triplet: x86_64-redhat-linux
  GCC host triplet: x86_64-redhat-linux
GCC target triplet: x86_64-redhat-linux


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


[Bug debug/24070] Dwarf macro info has bad file numbers

2005-09-26 Thread jimb at redhat dot com

--- Additional Comments From jimb at redhat dot com  2005-09-26 22:57 
---
Created an attachment (id=9814)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9814&action=view)
Preprocessed input file for the bug report.

This is the result of preprocessing bad-macro-file.c on my machine.

-- 


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