------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-02 
23:50 -------
Could this possible to reproduce with the following code (I don't have access 
currently a dwarf2 capable 
gdb/gcc for the mainline right now)  :
#include <stdio.h>
inline int f(void)
{
  extern int i;
  return i;
}
int i = 1;

int main(void)
{
   int ff = f();
   printf("%d\n", ff);
   return 0;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Keywords|                            |wrong-debug
            Summary|[4.0 Regression] GCC        |GCC produces wrong dwarf2
                   |produces wrong dwarf2 output|output that breaks gdb
                   |that breaks gdb             |
   Target Milestone|4.0.0                       |---


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

Reply via email to