re PR c/63495 (struct __attribute__ ((aligned (8))) broken on x86)
authorJakub Jelinek <jakub@redhat.com>
Fri, 10 Oct 2014 17:43:21 +0000 (19:43 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 10 Oct 2014 17:43:21 +0000 (19:43 +0200)
commit1740f8a1cd06cd92e17be4396e527d8d25591210
treedea44a9b6261d2a830c84b4145bb1cd33935ceae
parent878f5596b35f9edc49e896a909f20b2b48c98ddb
re PR c/63495 (struct __attribute__ ((aligned (8))) broken on x86)

PR c/63495
* stor-layout.c (min_align_of_type): Don't decrease alignment
through BIGGEST_FIELD_ALIGNMENT or ADJUST_FIELD_ALIGN if
TYPE_USER_ALIGN is set.

* gcc.target/i386/pr63495.c: New test.

From-SVN: r216101
gcc/ChangeLog
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr63495.c [new file with mode: 0644]