]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix pr60226.c on darwin.
authorMike Stump <mrs@gcc.gnu.org>
Wed, 9 Jul 2014 01:02:31 +0000 (01:02 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Wed, 9 Jul 2014 01:02:31 +0000 (01:02 +0000)
From-SVN: r212381

gcc/testsuite/c-c++-common/pr60226.c

index 3a1c261fa931ac0fcb0d39f8a712c4fb89606ef3..6a686d75f22d6e5f39311f8e2bf18c9e2ee7aa52 100644 (file)
@@ -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)