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

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
Line number info for main [4009d2,400ad2] with g++ 9.3.1:
...
CU: ./test.c:
File name                            Line number    Starting address    View   
Stmt
test.c                                         6            0x4009d2           
   x
test.c                                         7            0x4009db           
   x
test.c                                         7            0x4009fc           
   x
test.c                                         7            0x400a0d           
   x
test.c                                         8            0x400a25           
   x
test.c                                         8            0x400a46           
   x
test.c                                         8            0x400a57           
   x
test.c                                         9            0x400a6f           
   x
test.c                                         7            0x400a79           
   x
test.c                                         7            0x400a8a        
test.c                                         8            0x400aa4           
   x
test.c                                         8            0x400ab5        
test.c                                        10            0x400acc           
   x
...

Line number info for main [4009d6,400ad5] with g++ 10.2.1:
...
CU: ./test.c:
File name                            Line number    Starting address    View   
Stmt
test.c                                         6            0x4009d6           
   x
test.c                                         7            0x4009df           
   x
test.c                                         7            0x400a00        
test.c                                         7            0x400a11           
   x

/usr/include/c++/10/bits/basic_string.h:
basic_string.h                               525            0x400a1d           
   x

./test.c:[++]
test.c                                         8            0x400a29           
   x
test.c                                         8            0x400a4a        
test.c                                         8            0x400a5b           
   x

/usr/include/c++/10/bits/basic_string.h:
basic_string.h                               525            0x400a67           
   x

./test.c:[++]
test.c                                         9            0x400a73           
   x
test.c                                         7            0x400a7a           
   x

/usr/include/c++/10/bits/basic_string.h:
basic_string.h                               525            0x400a8b           
   x

./test.c:[++]
test.c                                         8            0x400aa5           
   x

/usr/include/c++/10/bits/basic_string.h:
basic_string.h                               525            0x400ab6           
   x

./test.c:[++]
test.c                                        10            0x400ad0           
   x
...

Reply via email to