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/54970] Missing DW_OP_GNU_implicit_pointer in debuginfo


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-26 19:19:30 UTC ---
Author: jakub
Date: Fri Oct 26 19:19:25 2012
New Revision: 192860

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192860
Log:
    PR debug/54970
    * cfgexpand.c (expand_debug_expr): Expand &MEM_REF[&var, n]
    as DEBUG_IMPLICIT_PTR + n if &var expands to DEBUG_IMPLICIT_PTR.
    * tree-sra.c (create_access_replacement): Allow also MEM_REFs
    with ADDR_EXPR first operand in DECL_DEBUG_EXPR expressions.
    * var-tracking.c (track_expr_p): Handle MEM_REFs in DECL_DEBUG_EXPR
    expressions.
    * dwarf2out.c (add_var_loc_to_decl): Likewise.

    PR debug/54971
    * gcc.dg/guality/pr54970.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/guality/pr54970.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgexpand.c
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-sra.c
    trunk/gcc/var-tracking.c


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