diff options
| author | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-05 17:26:05 +0000 |
|---|---|---|
| committer | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-05 17:26:05 +0000 |
| commit | 35cc02b5c80ac6738c1a3362a822e3d7e4d0c587 (patch) | |
| tree | 32d3ee1ddfcad180d619d756a84eeb0df779a6a2 /gcc/dwarf2out.c | |
| parent | fc297ba47e780c3659434d04f3c299b705154d5f (diff) | |
| download | ppe42-gcc-35cc02b5c80ac6738c1a3362a822e3d7e4d0c587.tar.gz ppe42-gcc-35cc02b5c80ac6738c1a3362a822e3d7e4d0c587.zip | |
Merge gimple-tuples-branch into mainline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119546 138bc75d-0d04-0410-961f-82ee72b054a4
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 e853b2fde2e..9a4903bdb48 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) |

