diff options
author | Bernd Schmidt <bernds@cygnus.co.uk> | 1999-12-20 13:18:17 +0000 |
---|---|---|
committer | Bernd Schmidt <crux@gcc.gnu.org> | 1999-12-20 13:18:17 +0000 |
commit | 01d939e8fb624ea88487fd41ce93c238a5eb870a (patch) | |
tree | ef38c36222ccc381ac63f61190043f19cbf2124f /gcc/expr.c | |
parent | 239a0f5ba54e5a19c4445835429ce113a68bebde (diff) | |
download | gcc-01d939e8fb624ea88487fd41ce93c238a5eb870a.zip gcc-01d939e8fb624ea88487fd41ce93c238a5eb870a.tar.gz gcc-01d939e8fb624ea88487fd41ce93c238a5eb870a.tar.bz2 |
current_function -> cfun
From-SVN: r31033
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -285,8 +285,7 @@ init_expr_once () void init_expr () { - current_function->expr - = (struct expr_status *) xmalloc (sizeof (struct expr_status)); + cfun->expr = (struct expr_status *) xmalloc (sizeof (struct expr_status)); pending_chain = 0; pending_stack_adjust = 0; @@ -2671,8 +2670,7 @@ emit_move_insn_1 (x, y) rtx cmem = change_address (mem, mode, NULL_RTX); - current_function->cannot_inline - = "function uses short complex types"; + cfun->cannot_inline = "function uses short complex types"; if (packed_dest_p) { @@ -5873,7 +5871,7 @@ expand_expr (exp, target, tmode, modifier) memory protection). Aggregates are not checked here; they're handled elsewhere. */ - if (current_function && current_function_check_memory_usage + if (cfun && current_function_check_memory_usage && code == VAR_DECL && GET_CODE (DECL_RTL (exp)) == MEM && ! AGGREGATE_TYPE_P (TREE_TYPE (exp))) @@ -6391,7 +6389,7 @@ expand_expr (exp, target, tmode, modifier) op0 = expand_expr (exp1, NULL_RTX, VOIDmode, EXPAND_SUM); op0 = memory_address (mode, op0); - if (current_function && current_function_check_memory_usage + if (cfun && current_function_check_memory_usage && ! AGGREGATE_TYPE_P (TREE_TYPE (exp))) { enum memory_use_mode memory_usage; |