public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-9701] aarch64: testsuite: disable PIE for fuse_adrp_add_1.c [PR70150] Date: Thu, 15 Jun 2023 10:26:57 +0000 (GMT) [thread overview] Message-ID: <20230615102657.5D3983857716@sourceware.org> (raw) https://gcc.gnu.org/g:5a21f78294624dd7166e1a25a57c805a759dc0d2 commit r12-9701-g5a21f78294624dd7166e1a25a57c805a759dc0d2 Author: Xi Ruoyao <xry111@xry111.site> Date: Sat Sep 24 14:45:17 2022 +0800 aarch64: testsuite: disable PIE for fuse_adrp_add_1.c [PR70150] In PIE, symbol "fixed_regs" is addressed via GOT. It will break the scan-assembler pattern and cause test failure with --enable-default-pie. gcc/testsuite/ChangeLog: PR testsuite/70150 * gcc.target/aarch64/fuse_adrp_add_1.c (dg-options): Add -fno-pie. (cherry picked from commit 7e8a3dbbb26f66ce8ea60be48962022b5fb2ef55) Diff: --- gcc/testsuite/gcc.target/aarch64/fuse_adrp_add_1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/aarch64/fuse_adrp_add_1.c b/gcc/testsuite/gcc.target/aarch64/fuse_adrp_add_1.c index e49aadaa639..d66fe3a4b23 100644 --- a/gcc/testsuite/gcc.target/aarch64/fuse_adrp_add_1.c +++ b/gcc/testsuite/gcc.target/aarch64/fuse_adrp_add_1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target aarch64_small } */ -/* { dg-options "-O3 -mcpu=cortex-a57" } */ +/* { dg-options "-O3 -mcpu=cortex-a57 -fno-pie" } */ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS, XGRF_REGS, ALL_REGS, LIM_REG_CLASSES };
reply other threads:[~2023-06-15 10:26 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20230615102657.5D3983857716@sourceware.org \ --to=xry111@gcc.gnu.org \ --cc=gcc-cvs@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: linkBe 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).