Testsuite fixes for C++11 alignof change.
authorJason Merrill <jason@gcc.gnu.org>
Tue, 24 Apr 2018 15:54:56 +0000 (11:54 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 24 Apr 2018 15:54:56 +0000 (11:54 -0400)
commit7f3c03bfc1e4fac5c38000ec182b2f35ebcc849f
treeebd5a06c7e7b097f1f191fa80b63c8393c1ca05d
parent8ff02f9647e63f9a94e16045edf757d8bb58ed2e
Testsuite fixes for C++11 alignof change.

gcc/testsuite:
* c-c++-common/attr-aligned-1.c: Use __alignof__ in C++11.
* g++.dg/cpp0x/alignas4.C: Expect 4-byte alignment on x86.

From-SVN: r259606
gcc/testsuite/c-c++-common/attr-aligned-1.c
gcc/testsuite/g++.dg/cpp0x/alignas4.C