From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7490 invoked by alias); 13 Feb 2013 13:28:53 -0000 Received: (qmail 7458 invoked by uid 22791); 13 Feb 2013 13:28:53 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Feb 2013 13:28:41 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Wed, 13 Feb 2013 13:28:40 +0000 Received: from e106375-lin.cambridge.arm.com ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 13 Feb 2013 13:28:40 +0000 From: James Greenhalgh To: gcc-patches@gcc.gnu.org Cc: apinski@cavium.com, marcus.shawcroft@arm.com Subject: [AArch64-4.7] Backport: Fix g++.dg/abi/aarch64_guard1.C Date: Wed, 13 Feb 2013 13:28:00 -0000 Message-Id: <1360762115-23188-1-git-send-email-james.greenhalgh@arm.com> MIME-Version: 1.0 X-MC-Unique: 113021313284001301 Content-Type: multipart/mixed; boundary="------------1.8.1.rc3.28.gcf793a4" X-IsSubscribed: yes 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 X-SW-Source: 2013-02/txt/msg00601.txt.bz2 From: pinskia This is a multi-part message in MIME format. --------------1.8.1.rc3.28.gcf793a4 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: quoted-printable Content-length: 576 Hi, If we enable section anchors by default we must fix the ABI testcase which is not expecting section anchors. This was fixed by Andrew Pinski on trunk here: http://gcc.gnu.org/ml/gcc-patches/2012-11/msg00580.html So we backport that fix. I've tested this with no regressions on aarch64-none-elf. Is this OK to commit to aarch64-4.7-branch? Thanks, James Greenhalgh --- gcc/ 2013-02-13 James Greenhalgh Backport from mainline. 2012-11-06 Andrew Pinski * g++.dg/abi/aarch64_guard1.C: Add -fno-section-anchors. --------------1.8.1.rc3.28.gcf793a4 Content-Type: text/x-patch; name=0001-AArch64-4.7-Backport-Fix-g-.dg-abi-aarch64_guard1.C.patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-AArch64-4.7-Backport-Fix-g-.dg-abi-aarch64_guard1.C.patch" Content-length: 531 diff --git a/gcc/testsuite/g++.dg/abi/aarch64_guard1.C b/gcc/testsuite/g++.= dg/abi/aarch64_guard1.C index af82ad2..ca1778b 100644 --- a/gcc/testsuite/g++.dg/abi/aarch64_guard1.C +++ b/gcc/testsuite/g++.dg/abi/aarch64_guard1.C @@ -2,7 +2,7 @@ // 8-byte doubleword and that only the least significant bit is used // for initialization guard variables. // { dg-do compile { target aarch64*-*-* } } -// { dg-options "-O -fdump-tree-original" } +// { dg-options "-O -fdump-tree-original -fno-section-anchors" } =20 int bar(); =20= --------------1.8.1.rc3.28.gcf793a4--