From d16790f212312ea395cb1d2a4f9641dea9892c64 Mon Sep 17 00:00:00 2001 From: John Wehle Date: Wed, 10 Feb 1999 23:10:43 +0000 Subject: function.c (assign_stack_temp_for_type): Clear best_p when an exact match is found. * function.c (assign_stack_temp_for_type): Clear best_p when an exact match is found. * i386.h (LOCAL_ALIGNMENT): Define. * function.c (assign_stack_local, assign_outer_stack_local): Use it. (assign_stack_temp_for_type): New function based on assign_stack_temp. (assign_stack_temp): Call it. (assign_temp): Use assign_stack_temp_for_type, not assign_stack_temp. * stmt.c: Use assign_temp, not assign_stack_temp. * tm.texi: Document LOCAL_ALIGNMENT. From-SVN: r25143 --- gcc/stmt.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'gcc/stmt.c') diff --git a/gcc/stmt.c b/gcc/stmt.c index 62f880d..a565adf 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -3495,12 +3495,7 @@ expand_decl (decl) oldaddr = XEXP (DECL_RTL (decl), 0); } - DECL_RTL (decl) - = assign_stack_temp (DECL_MODE (decl), - ((TREE_INT_CST_LOW (DECL_SIZE (decl)) - + BITS_PER_UNIT - 1) - / BITS_PER_UNIT), - 1); + DECL_RTL (decl) = assign_temp (TREE_TYPE (decl), 1, 1, 1); MEM_SET_IN_STRUCT_P (DECL_RTL (decl), AGGREGATE_TYPE_P (TREE_TYPE (decl))); -- cgit v1.1