This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/48045] dwarf2out emits CU with DW_AT_stmt_list to empty line table


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

--- Comment #1 from Mark Wielaard <mark at gcc dot gnu.org> 2011-03-09 23:04:09 UTC ---
The previous patch is wrong, it should depend on either a .loc or a .line
output. I had misunderstood when the DW_AT_stmt_list was really necessary. Also
there was some debate on whether or not pointing to an empty line number table
was actually wrong. We might want to change dwarflint to just allow it. See the
discussion here:
https://fedorahosted.org/pipermail/elfutils-devel/2011-March/001840.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]