diff options
author | John Wehle <john@feith.com> | 1999-02-10 23:10:43 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-02-10 16:10:43 -0700 |
commit | d16790f212312ea395cb1d2a4f9641dea9892c64 (patch) | |
tree | 3b7147f259c430743258b593dff47d5c7d2ab26a /gcc/stmt.c | |
parent | b111589b09c11e2a18759d1ecbf75af3e53c8536 (diff) | |
download | gcc-d16790f212312ea395cb1d2a4f9641dea9892c64.zip gcc-d16790f212312ea395cb1d2a4f9641dea9892c64.tar.gz gcc-d16790f212312ea395cb1d2a4f9641dea9892c64.tar.bz2 |
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
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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))); |