This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/50527] inconsistent vla align
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 27 Sep 2011 09:23:21 +0000
- Subject: [Bug middle-end/50527] inconsistent vla align
- Auto-submitted: auto-generated
- References: <bug-50527-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50527
--- Comment #4 from vries at gcc dot gnu.org 2011-09-27 09:23:21 UTC ---
Created attachment 25368
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25368
proposed patch
> Hm, I suppose we should then make all replacement decls have
> BIGGEST_ALIGNMENT rather than min (BIGGEST_ALIGNMENT, object-size)
Currently testing this patch on x86_64.
2011-09-27 Tom de Vries <tom@codesourcery.com>
* tree-ssa-ccp.c (fold_builtin_alloca_for_var): Use align from ptr_info.
* gcc.dg/pr50527.c: New test.