The pr115485.C testcase uses -fPIE, so it needs to state a PIC requirement.
Regstrapped on x86_64-linux-gnu. Also tested with gcc-14 on aarch64-, arm-, x86-, and x86_64-vxworks7r2. Ok to install? for gcc/testsuite/ChangeLog * g++.target/arm/pr115485.C: Require a pic effective target. --- gcc/testsuite/g++.target/arm/pr115485.C | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/g++.target/arm/pr115485.C b/gcc/testsuite/g++.target/arm/pr115485.C index 491b48c726a1d..66f1673e8021b 100644 --- a/gcc/testsuite/g++.target/arm/pr115485.C +++ b/gcc/testsuite/g++.target/arm/pr115485.C @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target fpic } */ /* { dg-options "-fPIE -mno-pic-data-is-text-relative -mlong-calls -ffunction-sections" } */ struct c1 { -- Alexandre Oliva, happy hacker https://blog.lx.oliva.nom.br/ Free Software Activist FSFLA co-founder GNU Toolchain Engineer More tolerance and less prejudice are key for inclusion and diversity. Excluding neuro-others for not behaving ""normal"" is *not* inclusive!