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 #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-15 09:56:36 UTC ---
Author: jakub
Date: Wed Jun 15 09:56:33 2011
New Revision: 175076

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175076
Log:
    PR debug/49382
    * dwarf2out.c (dw_loc_list_node): Add force field.
    (add_var_loc_to_decl): For PARM_DECL, attempt to keep
    the incoming location in the list, even if it is modified
    before first real insn.
    (output_loc_list): Emit empty ranges with force flag set.
    (dw_loc_list): If first range of a PARM_DECL is empty,
    set force flag.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c


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