re PR debug/25562 (cannot debug VLA local)
authorJakub Jelinek <jakub@redhat.com>
Wed, 4 Jan 2006 08:05:29 +0000 (09:05 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 4 Jan 2006 08:05:29 +0000 (09:05 +0100)
commit434eba35c00fe13a817a4f799e8b6b1fcb1f8065
treeb1683e1d380b9d2469d81bb04642c70217286a89
parent9c3b204ab89bdf9fa42fc0e8b8f3c710f03d35a4
re PR debug/25562 (cannot debug VLA local)

PR debug/25562
* function.c (instantiate_expr): New function.
(instantiate_decls_1, instantiate_decls): If DECL_HAS_VALUE_EXPR_P,
walk its DECL_VALUE_EXPR with instantiate_expr.

* dwarf2out.c (loc_descriptor_from_tree_1): Don't add
DW_OP_deref{,_size} if address isn't going to be added.

From-SVN: r109315
gcc/ChangeLog
gcc/dwarf2out.c
gcc/function.c