diff options
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index 29d22b07256..d1d9ca5d167 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -138,7 +138,6 @@ static void emit_single_push_insn (machine_mode, rtx, tree); static void do_tablejump (rtx, machine_mode, rtx, rtx, rtx, int); static rtx const_vector_from_tree (tree); static rtx const_scalar_mask_from_tree (tree); -static tree tree_expr_size (const_tree); static HOST_WIDE_INT int_expr_size (tree); @@ -11602,18 +11601,6 @@ get_personality_function (tree decl) return XEXP (DECL_RTL (personality), 0); } -/* Returns a tree for the size of EXP in bytes. */ - -static tree -tree_expr_size (const_tree exp) -{ - if (DECL_P (exp) - && DECL_SIZE_UNIT (exp) != 0) - return DECL_SIZE_UNIT (exp); - else - return size_in_bytes (TREE_TYPE (exp)); -} - /* Return an rtx for the size in bytes of the value of EXP. */ rtx |