diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-25 19:43:15 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-25 19:43:15 +0000 |
commit | 2330f9c531f7f4c453594332c74e3cdb4d3ba831 (patch) | |
tree | bc5598b0791be6690f4675fc60b70ba3484f2c18 /gcc/tree-nested.c | |
parent | 9f1b2bcf66046225ae5e0b15236f8176e8ed2647 (diff) | |
download | gcc-2330f9c531f7f4c453594332c74e3cdb4d3ba831.tar.gz |
* expr.c (expand_expr_real_1): Do not expand operand #1 and #2
of BIT_FIELD_REF for ignored results.
* fold-const.c (fold_ternary_loc) <BIT_FIELD_REF>: Check that the
CONSTRUCTOR has vector type before using vector accessors on it.
* gimplify.c (gimplify_compound_lval): Do not gimplify operand #1 and
#2 of BIT_FIELD_REF.
(gimplify_expr) <BIT_FIELD_REF>: Likewise.
* tree-nested.c (convert_nonlocal_reference_op) <BIT_FIELD_REF>: Do
not process operand #1 and #2.
(convert_local_reference_op): Likewise.
* tree-ssa-pre.c (create_component_ref_by_pieces_1): Remove superfluous
breaks throughout.
<BIT_FIELD_REF>: Reuse operand #1 and #2 directly.
* tree.c (stabilize_reference) <BIT_FIELD_REF>: Do not stabilize
operand #1 and #2.
(UPDATE_FLAGS): Do not consider operand #2 of BIT_FIELD_REF.
(build6_stat): Delete.
* tree.h (build6_stat, build6, build6_stat_loc, build6_loc): Likewise.
ada/
* gcc-interface/utils2.c (gnat_stabilize_reference) <BIT_FIELD_REF>: Do
not stabilize operand #1 and #2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189864 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-nested.c')
-rw-r--r-- | gcc/tree-nested.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c index b5d37e98e35..c0a6250fe58 100644 --- a/gcc/tree-nested.c +++ b/gcc/tree-nested.c @@ -1013,13 +1013,6 @@ convert_nonlocal_reference_op (tree *tp, int *walk_subtrees, void *data) walk_tree (&TREE_OPERAND (t, 3), convert_nonlocal_reference_op, wi, NULL); } - else if (TREE_CODE (t) == BIT_FIELD_REF) - { - walk_tree (&TREE_OPERAND (t, 1), convert_nonlocal_reference_op, - wi, NULL); - walk_tree (&TREE_OPERAND (t, 2), convert_nonlocal_reference_op, - wi, NULL); - } } wi->val_only = false; walk_tree (tp, convert_nonlocal_reference_op, wi, NULL); @@ -1491,13 +1484,6 @@ convert_local_reference_op (tree *tp, int *walk_subtrees, void *data) walk_tree (&TREE_OPERAND (t, 3), convert_local_reference_op, wi, NULL); } - else if (TREE_CODE (t) == BIT_FIELD_REF) - { - walk_tree (&TREE_OPERAND (t, 1), convert_local_reference_op, wi, - NULL); - walk_tree (&TREE_OPERAND (t, 2), convert_local_reference_op, wi, - NULL); - } } wi->val_only = false; walk_tree (tp, convert_local_reference_op, wi, NULL); |