public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-9701] aarch64: testsuite: disable PIE for fuse_adrp_add_1.c [PR70150]
@ 2023-06-15 10:26 Xi Ruoyao
  0 siblings, 0 replies; only message in thread
From: Xi Ruoyao @ 2023-06-15 10:26 UTC (permalink / raw)
  To: gcc-cvs

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 };

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-15 10:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-15 10:26 [gcc r12-9701] aarch64: testsuite: disable PIE for fuse_adrp_add_1.c [PR70150] Xi Ruoyao

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).