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:
Xi Ruoyao
2022-09-24 14:45:17 +08:00
parent a1ccb4583d
commit 7e8a3dbbb2
@@ -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 };