From ea814c6675874dae704d3ee33b7146c3f5132688 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Wed, 25 Jul 2012 19:43:15 +0000 Subject: expr.c (expand_expr_real_1): Do not expand operand #1 and #2 of BIT_FIELD_REF for ignored results. * 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) : 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) : Likewise. * tree-nested.c (convert_nonlocal_reference_op) : 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. : Reuse operand #1 and #2 directly. * tree.c (stabilize_reference) : 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) : Do not stabilize operand #1 and #2. From-SVN: r189864 --- gcc/tree.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'gcc/tree.h') diff --git a/gcc/tree.h b/gcc/tree.h index 62d6645..cf3b2cd 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -4245,12 +4245,8 @@ extern tree build4_stat (enum tree_code, tree, tree, tree, tree, extern tree build5_stat (enum tree_code, tree, tree, tree, tree, tree, tree MEM_STAT_DECL); #define build5(c,t1,t2,t3,t4,t5,t6) build5_stat (c,t1,t2,t3,t4,t5,t6 MEM_STAT_INFO) -extern tree build6_stat (enum tree_code, tree, tree, tree, tree, tree, - tree, tree MEM_STAT_DECL); -#define build6(c,t1,t2,t3,t4,t5,t6,t7) \ - build6_stat (c,t1,t2,t3,t4,t5,t6,t7 MEM_STAT_INFO) -/* _loc versions of build[1-6]. */ +/* _loc versions of build[1-5]. */ static inline tree build1_stat_loc (location_t loc, enum tree_code code, tree type, @@ -4311,20 +4307,6 @@ build5_stat_loc (location_t loc, enum tree_code code, tree type, tree arg0, #define build5_loc(l,c,t1,t2,t3,t4,t5,t6) \ build5_stat_loc (l,c,t1,t2,t3,t4,t5,t6 MEM_STAT_INFO) -static inline tree -build6_stat_loc (location_t loc, enum tree_code code, tree type, tree arg0, - tree arg1, tree arg2, tree arg3, tree arg4, - tree arg5 MEM_STAT_DECL) -{ - tree t = build6_stat (code, type, arg0, arg1, arg2, arg3, arg4, - arg5 PASS_MEM_STAT); - if (CAN_HAVE_LOCATION_P (t)) - SET_EXPR_LOCATION (t, loc); - return t; -} -#define build6_loc(l,c,t1,t2,t3,t4,t5,t6,t7) \ - build6_stat_loc (l,c,t1,t2,t3,t4,t5,t6,t7 MEM_STAT_INFO) - extern tree build_var_debug_value_stat (tree, tree MEM_STAT_DECL); #define build_var_debug_value(t1,t2) \ build_var_debug_value_stat (t1,t2 MEM_STAT_INFO) -- cgit v1.1