https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93075

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-debug
                 CC|                            |jsm28 at gcc dot gnu.org
          Component|c++                         |preprocessor

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I see

 DW_MACRO_import - offset : 0x0
 DW_MACRO_start_file - lineno: 0 filenum: 1 filename: t.c
 DW_MACRO_start_file - lineno: 31 filenum: 2 filename:
/usr/include/stdc-predef.h
 DW_MACRO_import - offset : 0x0
 DW_MACRO_end_file
 DW_MACRO_start_file - lineno: 32 filenum: 3 filename: ./t2.h
 DW_MACRO_define_strp - lineno : 1 macro : BAR 1
 DW_MACRO_end_file
 DW_MACRO_start_file - lineno: 1 filenum: 4 filename: t.h
 DW_MACRO_define_strp - lineno : 1 macro : FOO 1
 DW_MACRO_end_file
 DW_MACRO_end_file

for

> cat t.c
#include "t.h"

int main() {}
> cat t.h
#define FOO 1
> cat t2.h
#define BAR 1

the only suspicious thing is that both stdc-predef.h and t2.h appear to be
at lineno 31/32?

Reply via email to