From 0a7a6af67e6311a427052ef6fc21f6df72be7b51 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 20 Sep 2010 22:37:10 +0200 Subject: re PR rtl-optimization/45678 (crash on vector code with -m32 -msse) PR middle-end/45678 * cfgexpand.c (expand_one_stack_var_at): Use crtl->max_used_stack_slot_alignment as max_align, instead of maximum of that and PREFERRED_STACK_BOUNDARY. Don't call update_stack_alignment. From-SVN: r164454 --- gcc/cfgexpand.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gcc/cfgexpand.c') diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 1e67e77..f9d3fa6 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -738,12 +738,10 @@ expand_one_stack_var_at (tree decl, HOST_WIDE_INT offset) offset -= frame_phase; align = offset & -offset; align *= BITS_PER_UNIT; - max_align = MAX (crtl->max_used_stack_slot_alignment, - PREFERRED_STACK_BOUNDARY); + max_align = crtl->max_used_stack_slot_alignment; if (align == 0 || align > max_align) align = max_align; - update_stack_alignment (align); DECL_ALIGN (decl) = align; DECL_USER_ALIGN (decl) = 0; } -- cgit v1.1