On Jul 8, 2014, at 3:12 PM, Dominique Dhumieres <domi...@lps.ens.fr> wrote:
>> diff --git gcc/testsuite/c-c++-common/pr60226.c 
>> gcc/testsuite/c-c++-common/pr60226.c
> 
> The test fails on x86_64-apple-darwin13 with
> 
> FAIL: c-c++-common/pr60226.c  -std=gnu++98 (test for excess errors)
> Excess errors:
> /opt/gcc/work/gcc/testsuite/c-c++-common/pr60226.c:6:7: error: alignment of 
> 'foo' is greater than maximum object file alignment 32768

Fixed, thanks.

Index: pr60226.c
===================================================================
--- pr60226.c   (revision 212379)
+++ pr60226.c   (working copy)
@@ -4,7 +4,7 @@
 
 typedef int __attribute__ ((aligned (1 << 28))) int28;
 int28 foo[4] = {}; /* { dg-error "alignment of array elements is greater than 
element size" } */
-typedef int __attribute__ ((aligned (1 << 29))) int29; /* { dg-error 
"requested alignment is too large" } */
+typedef int __attribute__ ((aligned (1 << 29))) int29; /* { dg-error 
"requested alignment is too large|maximum object file alignment" } */
 
 void
 f (void)

Reply via email to