https://sourceware.org/bugzilla/show_bug.cgi?id=26778

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
                 CC|                            |amodra at gmail dot com
             Status|RESOLVED                    |REOPENED

--- Comment #6 from Alan Modra <amodra at gmail dot com> ---
If you look at the output of dwarf4-line-1 test using readelf -wL to interpret
the line number program you get:

CU: ./foo.c:
File name                            Line number    Starting address    View   
Stmt
foo.c                                         82                   0           
   x

./foo.h:[++]
foo.h                                          9                 0x1           
   x
foo.h                                          -                 0x4

That doesn't make much sense to me.  I think dwarf4-line-1.d is erroneous
output, but to be honest, I'm not sure what the assembler should do with
dwarf4-line-1.s.

Maybe
foo.h line 82 for bar's nop
dwarf4-line-1.s line 9 for bar's ret
foo.c line 1 for foo's nop
foo.h line 2 for foo's ret

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to