https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150
--- Comment #34 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Xi Ruoyao <xry...@gcc.gnu.org>: https://gcc.gnu.org/g:b2d29f2622c215201cb415565ab4f18b738ca35c commit r12-9700-gb2d29f2622c215201cb415565ab4f18b738ca35c Author: Xi Ruoyao <xry...@xry111.site> Date: Sat Sep 24 14:28:44 2022 +0800 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. (cherry picked from commit a1ccb4583dfaa267648110aa7da7275acc3000f8)