* cfgexpand.c (add_stack_var): Assert that the alignment is not zero.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 3 Sep 2011 14:56:53 +0000 (14:56 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 3 Sep 2011 14:56:53 +0000 (14:56 +0000)
commit0a4cd568b37db01d1dc2c160935faee75561aa37
treecd3c3578717b3ddf37c3ceddfbcd16e8ecd43868
parentfb14449c7c426053a7909a94720c2499d80dc516
* cfgexpand.c (add_stack_var): Assert that the alignment is not zero.
* tree-ssa-ccp.c (fold_builtin_alloca_for_var): Revert latest change.
Force at least BITS_PER_UNIT alignment on the new variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178499 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgexpand.c
gcc/tree-ssa-ccp.c