This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/50317] [4.7 Regression] missing DW_OP_GNU_implicit_pointer
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 03 Dec 2011 16:40:05 +0000
- Subject: [Bug debug/50317] [4.7 Regression] missing DW_OP_GNU_implicit_pointer
- Auto-submitted: auto-generated
- References: <bug-50317-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50317
--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-03 16:40:05 UTC ---
Author: jakub
Date: Sat Dec 3 16:39:56 2011
New Revision: 181971
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181971
Log:
PR debug/50317
* tree-ssa.c (target_for_debug_bind): Also allow is_gimple_reg_type
vars that aren't referenced.
(tree-ssa-live.c (remove_unused_locals): Don't clear TREE_ADDRESSABLE
of unreferenced local vars.
* cfgexpand.c (expand_debug_expr): For DEBUG_IMPLICIT_PTR allow also
TREE_ADDRESSABLE vars that satisfy target_for_debug_bind.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgexpand.c
trunk/gcc/tree-ssa-live.c
trunk/gcc/tree-ssa.c