Skip to content
Snippets Groups Projects
Unverified Commit a1ccb458 authored by Xi Ruoyao's avatar Xi Ruoyao
Browse files

aarch64: testsuite: disable PIE for tests with large code model [PR70150]

These tests set large code model with -mcmodel=large or target pragma for
AArch64.  But if GCC is configured with --enable-default-pie, it triggers
"sorry: unimplemented: code model large with -fpic".  Disable PIE to make
avoid the issue.

gcc/testsuite/ChangeLog:

	PR testsuite/70150
	* gcc.dg/tls/pr78796.c (dg-additional-options): Add -fno-pie
	-no-pie for aarch64-*-*.
	* gcc.target/aarch64/pr63304_1.c (dg-options): Add -fno-pie.
	* gcc.target/aarch64/pr70120-2.c (dg-options): Add -fno-pie.
	* gcc.target/aarch64/pr78733.c (dg-options): Add -fno-pie.
	* gcc.target/aarch64/pr79041-2.c (dg-options): Add -fno-pie.
	* gcc.target/aarch64/pr94530.c (dg-options): Add -fno-pie.
	* gcc.target/aarch64/pr94577.c (dg-options): Add -fno-pie.
	* gcc.target/aarch64/reload-valid-spoff.c (dg-options): Add
	-fno-pie.
parent f30f04b1
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment