diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2006-12-05 17:26:05 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2006-12-05 17:26:05 +0000 |
commit | 07beea0df36b29ef9acb27111eac0b0e92e181a5 (patch) | |
tree | 32d3ee1ddfcad180d619d756a84eeb0df779a6a2 /gcc/dwarf2out.c | |
parent | 3b8aab767b942e122caf583493d7cd858c091cde (diff) | |
download | gcc-07beea0df36b29ef9acb27111eac0b0e92e181a5.zip gcc-07beea0df36b29ef9acb27111eac0b0e92e181a5.tar.gz gcc-07beea0df36b29ef9acb27111eac0b0e92e181a5.tar.bz2 |
Merge gimple-tuples-branch into mainline.
From-SVN: r119546
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index e853b2f..9a4903b 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -9266,8 +9266,9 @@ loc_descriptor_from_tree_1 (tree loc, int want_address) case NON_LVALUE_EXPR: case VIEW_CONVERT_EXPR: case SAVE_EXPR: - case MODIFY_EXPR: - return loc_descriptor_from_tree_1 (TREE_OPERAND (loc, 0), want_address); + case GIMPLE_MODIFY_STMT: + return loc_descriptor_from_tree_1 (GENERIC_TREE_OPERAND (loc, 0), + want_address); case COMPONENT_REF: case BIT_FIELD_REF: @@ -10040,7 +10041,7 @@ static tree reference_to_unused (tree * tp, int * walk_subtrees, void * data ATTRIBUTE_UNUSED) { - if (! EXPR_P (*tp) && ! CONSTANT_CLASS_P (*tp)) + if (! EXPR_P (*tp) && ! GIMPLE_STMT_P (*tp) && ! CONSTANT_CLASS_P (*tp)) *walk_subtrees = 0; if (DECL_P (*tp) && ! TREE_PUBLIC (*tp) && ! TREE_USED (*tp) |