From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28091 invoked by alias); 16 Jun 2010 14:58:05 -0000 Received: (qmail 27934 invoked by uid 48); 16 Jun 2010 14:57:51 -0000 Date: Wed, 16 Jun 2010 14:58:00 -0000 Message-ID: <20100616145751.27933.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/44542] expand_one_stack_var_at may set DECL_ALIGN to a too high value In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jakub at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg01715.txt.bz2 ------- Comment #15 from jakub at gcc dot gnu dot org 2010-06-16 14:57 ------- 1) all the world isn't ix86/x86_64, this is generic code, so MAX_SUPPORTED_STACK_ALIGNMENT is small on many targets 2) even when get_decl_align_unit returns something small, the decl might still get a nicely aligned slot (say offset 64). If it is known at this point that virtual_stack_vars_rtx will be at least 32 byte aligned, we shouldn't hide that fact from the expanders. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44542