Commit dbab7b72 by Jan Hubicka Committed by Jan Hubicka

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
parent 0ca90ba6
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.
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment