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/49382] -O2 -g: DW_AT_location at the very first PC is already modified


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

--- Comment #3 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2011-06-13 19:52:45 UTC ---
(In reply to comment #2)
> we could special case parameters (PARM_DECLs and vars with PARM_DECL
> DECL_ABSTRACT_ORIGIN) before the first insn

At least temporarily it would be needed to get the entry values working in more
cases.  While some dwarflints may complain re-stating it is allowed by DWARF-4:

# A location list entry (but not a base address selection or end of list entry)
# whose beginning and ending addresses are equal has no effect because the size
# of the range covered by such an entry is zero.


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