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.
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user