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 r13-6518] aarch64: testsuite: disable PIE for fuse_adrp_add_1.c [PR70150] Date: Tue, 7 Mar 2023 07:38:00 +0000 (GMT) [thread overview] Message-ID: <20230307073800.D4FA33854831@sourceware.org> (raw) https://gcc.gnu.org/g:7e8a3dbbb26f66ce8ea60be48962022b5fb2ef55 commit r13-6518-g7e8a3dbbb26f66ce8ea60be48962022b5fb2ef55 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. 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-03-07 7:38 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=20230307073800.D4FA33854831@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).