function.c (assign_stack_local_1, [...]): Do not call gen_mode_alignment when mode is BLKmode.

* function.c (assign_stack_local_1, assign_stack_temp_for_type):
	Do not call gen_mode_alignment when mode is BLKmode.

From-SVN: r35345
This commit is contained in:
Jan Hubicka 2000-07-30 18:26:46 +00:00 committed by Jan Hubicka
parent 0ca90ba6b4
commit dbab7b72b5
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sun Jul 30 20:25:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
* function.c (assign_stack_local_1, assign_stack_temp_for_type):
Do not call gen_mode_alignment when mode is BLKmode.
Sun Jul 30 20:21:54 MET DST 2000 Jan Hubicka <jh@suse.cz>
* loop.c (express_from_1): Fix call of simplify_gen_binary.

View File

@ -551,9 +551,10 @@ assign_stack_local_1 (mode, size, align, function)
{
tree type;
alignment = GET_MODE_ALIGNMENT (mode);
if (mode == BLKmode)
alignment = BIGGEST_ALIGNMENT;
else
alignment = GET_MODE_ALIGNMENT (mode);
/* Allow the target to (possibly) increase the alignment of this
stack slot. */
@ -676,9 +677,10 @@ assign_stack_temp_for_type (mode, size, keep, type)
else
alias_set = 0;
align = GET_MODE_ALIGNMENT (mode);
if (mode == BLKmode)
align = BIGGEST_ALIGNMENT;
else
align = GET_MODE_ALIGNMENT (mode);
if (! type)
type = type_for_mode (mode, 0);