diff options
author | Jan Hubicka <jh@suse.cz> | 2009-09-20 14:04:21 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2009-09-20 12:04:21 +0000 |
commit | c4a80a2df36df59ceedcd1236dea299cba12349f (patch) | |
tree | 55ab5f5feb7fa46dc52c03bf3c1614a6ac8f40b4 /gcc/fold-const.c | |
parent | 0b1d7060b5971207d0cb09d58ca363c943805768 (diff) | |
download | gcc-c4a80a2df36df59ceedcd1236dea299cba12349f.zip gcc-c4a80a2df36df59ceedcd1236dea299cba12349f.tar.gz gcc-c4a80a2df36df59ceedcd1236dea299cba12349f.tar.bz2 |
dwarf2out.c (add_const_value_attribute): Return true if successful.
* dwarf2out.c (add_const_value_attribute): Return true if successful.
(add_location_or_const_value_attribute): Rewrite using loc_list_from_tree.
(tree_add_const_value_attribute): Return true if successful.
(tree_add_const_value_attribute_for_decl): Likewise.
* dwarf2out.c (address_of_int_loc_descriptor): Break out from ...
(loc_descriptor): ... here;
(loc_list_for_address_of_addr_expr_of_indirect_ref): New function.
(cst_pool_loc_descr): Break out from ...; do not reffer constant
pool items that was not marked for output.
(loc_list_from_tree): ... here; handle special cases of ADDR_EXPR;
(loc_list_for_address_of_addr_expr_of_indirect_ref): New function.
(loc_list_for_address_of_addr_expr_of_indirect_ref): New function.
handle ALIGN_INDIRECT_REF, MISALIGNED_INDIRECT_REF, REALPART_EXPR,
IMAGPART_EXPR; handle address of INTEGER_CST; improve handling of
CONSTRUCTOR; handle REAL_CST, STRING_CST, COMPLEX_CST; use
DW_OP_stack_value to get address of items that are not available
as addresses.
(dw_loc_list): Handle single element lists correctly.
From-SVN: r151901
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions