PR c/61053
commitc2c4ae8d472b3403decb8ce8027ee6dc2e972c08
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 May 2014 18:19:09 +0000 (8 18:19 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 May 2014 18:19:09 +0000 (8 18:19 +0000)
tree91105210787a491bfe8736eb9fa6b7e58c1e68c4
parent2026249a8c3edf097e9f15a6a10ddc203e7b23ba
PR c/61053
c-family/
* c-common.c (min_align_of_type): New function factored out from...
(c_sizeof_or_alignof_type): ...here.
* c-common.h (min_align_of_type): Declare.
c/
* c-decl.c (grokdeclarator): Use min_align_of_type instead of
TYPE_ALIGN_UNIT.
testsuite/
* gcc.dg/pr61053.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210230 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/c-family/c-common.h
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr61053.c [new file with mode: 0644]