From: Andrew Pinski <andrew.pinski@caviumnetworks.com>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: [AARCH64/Committed] Fix g++.dg/abi/aarch64_guard1.C
Date: Tue, 06 Nov 2012 22:06:00 -0000 [thread overview]
Message-ID: <CA+=Sn1m21tP6s8Q=-3iUmmce_x5smJdPKNrBe-++LRHC+oeMzw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 361 bytes --]
Hi,
The problem here is with section anchors turned on, we generate a
BSS rather than a local common symbol and we no longer match the
pattern: "_ZGVZ3foovE1x,8,8". This fixes this testcase by just adding
-fno-section-anchors.
Thanks,
Andrew Pinski
2012-11-06 Andrew Pinski <apinski@cavium.com>
* g++.dg/abi/aarch64_guard1.C: Add -fno-section-anchors.
[-- Attachment #2: fixabitestcase.diff.txt --]
[-- Type: text/plain, Size: 499 bytes --]
Index: g++.dg/abi/aarch64_guard1.C
===================================================================
--- g++.dg/abi/aarch64_guard1.C (revision 193259)
+++ g++.dg/abi/aarch64_guard1.C (working copy)
@@ -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" }
int bar();
next reply other threads:[~2012-11-06 22:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-06 22:06 Andrew Pinski [this message]
2012-11-28 15:20 ` Richard Earnshaw
2012-11-28 21:00 ` Richard Sandiford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+=Sn1m21tP6s8Q=-3iUmmce_x5smJdPKNrBe-++LRHC+oeMzw@mail.gmail.com' \
--to=andrew.pinski@caviumnetworks.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).