From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28598 invoked by alias); 9 Jul 2014 01:02:58 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 28536 invoked by uid 89); 9 Jul 2014 01:02:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: qmta13.emeryville.ca.mail.comcast.net Received: from qmta13.emeryville.ca.mail.comcast.net (HELO qmta13.emeryville.ca.mail.comcast.net) (76.96.27.243) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 09 Jul 2014 01:02:48 +0000 Received: from omta17.emeryville.ca.mail.comcast.net ([76.96.30.73]) by qmta13.emeryville.ca.mail.comcast.net with comcast id Q0ys1o0041afHeLAD12nQ8; Wed, 09 Jul 2014 01:02:47 +0000 Received: from [IPv6:2001:558:6045:a4:40c6:7199:cd03:b02d] ([IPv6:2001:558:6045:a4:40c6:7199:cd03:b02d]) by omta17.emeryville.ca.mail.comcast.net with comcast id Q12l1o00W2ztT3H8d12mcR; Wed, 09 Jul 2014 01:02:46 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: [PATCH] Don't ICE with huge alignment (PR middle-end/60226) From: Mike Stump In-Reply-To: <20140708221258.5A38A105@mailhost.lps.ens.fr> Date: Wed, 09 Jul 2014 01:02:00 -0000 Cc: gcc-patches@gcc.gnu.org, polacek@redhat.com Content-Transfer-Encoding: quoted-printable Message-Id: References: <20140708221258.5A38A105@mailhost.lps.ens.fr> To: Dominique Dhumieres X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg00595.txt.bz2 On Jul 8, 2014, at 3:12 PM, Dominique Dhumieres wrote: >> diff --git gcc/testsuite/c-c++-common/pr60226.c gcc/testsuite/c-c++-comm= on/pr60226.c >=20 > The test fails on x86_64-apple-darwin13 with >=20 > FAIL: c-c++-common/pr60226.c -std=3Dgnu++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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- pr60226.c (revision 212379) +++ pr60226.c (working copy) @@ -4,7 +4,7 @@ =20 typedef int __attribute__ ((aligned (1 << 28))) int28; int28 foo[4] =3D {}; /* { dg-error "alignment of array elements is greater= than element size" } */ -typedef int __attribute__ ((aligned (1 << 29))) int29; /* { dg-error "requ= ested alignment is too large" } */ +typedef int __attribute__ ((aligned (1 << 29))) int29; /* { dg-error "requ= ested alignment is too large|maximum object file alignment" } */ =20 void f (void)