This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/43762] VLA artificial length var loclist is missing DW_OP_stack_value
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Apr 2010 15:35:26 -0000
- Subject: [Bug debug/43762] VLA artificial length var loclist is missing DW_OP_stack_value
- References: <bug-43762-12292@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jakub at gcc dot gnu dot org 2010-04-16 15:35 -------
Subject: Bug 43762
Author: jakub
Date: Fri Apr 16 15:34:47 2010
New Revision: 158430
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158430
Log:
PR debug/43762
* dwarf2out.c (add_bound_info): Always call loc_list_from_tree
with want_address 2 and in case a single element list might be
possible, call it again with want_address 0.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43762