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  <t...@codesourcery.com>

    * tree-ssa-ccp.c (fold_builtin_alloca_for_var): Use align from ptr_info.

    * gcc.dg/pr50527.c: New test.

Reply via email to