https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69573
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-02-10 Ever confirmed|0 |1 --- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- On x86_64-apple-darwin15 the test succeeds with the following patch --- ../_clean/gcc/testsuite/gcc.dg/pr61053.c 2014-09-19 12:53:07.000000000 +0200 +++ gcc/testsuite/gcc.dg/pr61053.c 2016-02-10 19:08:52.000000000 +0100 @@ -67,9 +67,9 @@ _Alignas (long double) double dld; _Alignas (char) long double ldc; /* { dg-error "cannot reduce alignment" } */ _Alignas (short int) long double lds; /* { dg-error "cannot reduce alignment" } */ -_Alignas (int) long double ldi; /* { dg-error "cannot reduce alignment" "" { target { ! { ia32 } } } } */ -_Alignas (long int) long double ldl; /* { dg-error "cannot reduce alignment" "" { target { ! { ia32 } } } } */ -_Alignas (long long int) long double ldll; /* { dg-error "cannot reduce alignment" "" { target { ! { ia32 } } } } */ -_Alignas (float) long double ldf; /* { dg-error "cannot reduce alignment" "" { target { ! { ia32 } } } } */ -_Alignas (double) long double ldd; /* { dg-error "cannot reduce alignment" "" { target { ! { ia32 } } } } */ +_Alignas (int) long double ldi; /* { dg-error "cannot reduce alignment" } */ +_Alignas (long int) long double ldl; /* { dg-error "cannot reduce alignment" } */ +_Alignas (long long int) long double ldll; /* { dg-error "cannot reduce alignment" } */ +_Alignas (float) long double ldf; /* { dg-error "cannot reduce alignment" } */ +_Alignas (double) long double ldd; /* { dg-error "cannot reduce alignment" } */ _Alignas (long double) long double ldld;