summaryrefslogtreecommitdiff
path: root/gcc/genhooks.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-21 17:35:39 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-21 17:35:39 +0000
commit2c8b23a2f0cdeb6458dad943a0ba24b36b427dd6 (patch)
treeceb9b4cba8f3ed7614a17bae32388520d9fd8686 /gcc/genhooks.c
parent89e475e49605df6eef508b802093735fe6a506fe (diff)
downloadgcc-2c8b23a2f0cdeb6458dad943a0ba24b36b427dd6.tar.gz
PR debug/55608
* dwarf2out.c (tree_add_const_value_attribute): Call ggc_free (array) on failure. (resolve_one_addr): Fail if referenced STRING_CST hasn't been written. (string_cst_pool_decl): New function. (optimize_one_addr_into_implicit_ptr): New function. (resolve_addr_in_expr): Optimize DWARF location expression DW_OP_addr DW_OP_stack_value where DW_OP_addr refers to some variable which doesn't live in memory, but has DW_AT_location or DW_AT_const_value, or refers to a string literal, into DW_OP_GNU_implicit_pointer. (optimize_location_into_implicit_ptr): New function. (resolve_addr): If removing DW_AT_location of a variable because it was DW_OP_addr of address of the variable, but the variable doesn't live in memory, try to emit const value attribute for the initializer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196886 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genhooks.c')
0 files changed, 0 insertions, 0 deletions