]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* c-c++-common/pr60226.c: Expect maximum object file alignment
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jul 2016 13:07:23 +0000 (13:07 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jul 2016 13:07:23 +0000 (13:07 +0000)
        error on AIX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238335 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 6c85d55bcadb954aed1ec8994150adc66634abfe..ab98d27ec7858d90471ed89aac74366c59362496 100644 (file)
@@ -1,3 +1,8 @@
+2016-07-14  David Edelsohn  <dje.gcc@gmail.com>
+
+       * c-c++-common/pr60226.c: Expect maximum object file alignment
+       error on AIX.
+
 2016-07-14  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/71866
index aeb132b849860681a770af5cf15754cb400dc6eb..42646e41e375203817d45754738b21e7232eee10 100644 (file)
@@ -4,7 +4,7 @@
 /* { dg-require-effective-target int32plus } */
 
 typedef int __attribute__ ((aligned (1 << 28))) int28;
-int28 foo[4] = {}; /* { dg-error "alignment of array elements is greater than element size" } */
+int28 foo[4] = {}; /* { dg-error "alignment of array elements is greater than element size|maximum object file alignment" } */
 typedef int __attribute__ ((aligned (1 << 29))) int29; /* { dg-error "requested alignment is too large|maximum object file alignment" } */
 
 void