From 91f35b7f975ae3c36d2719ca15b33421c356fcb1 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 14 Jul 2016 13:07:23 +0000 Subject: [PATCH] pr60226.c: Expect maximum object file alignment error on AIX. * c-c++-common/pr60226.c: Expect maximum object file alignment error on AIX. From-SVN: r238335 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/c-c++-common/pr60226.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6c85d55bcad..ab98d27ec78 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-07-14 David Edelsohn + + * c-c++-common/pr60226.c: Expect maximum object file alignment + error on AIX. + 2016-07-14 Richard Biener PR tree-optimization/71866 diff --git a/gcc/testsuite/c-c++-common/pr60226.c b/gcc/testsuite/c-c++-common/pr60226.c index aeb132b8498..42646e41e37 100644 --- a/gcc/testsuite/c-c++-common/pr60226.c +++ b/gcc/testsuite/c-c++-common/pr60226.c @@ -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 -- 2.30.2