aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.c-c++-common/lastprivate-conditional-10.c
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2025-09-02 09:28:40 +0200
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2025-09-02 09:28:40 +0200
commit13eee16e925218afe469a799ca17aec1e607e568 (patch)
tree901e51c47dc37504d83cb9a316246dcbe54905ee /libgomp/testsuite/libgomp.c-c++-common/lastprivate-conditional-10.c
parenta1fe3311dd3f340865288fbf370267b57795db06 (diff)
downloadgcc-13eee16e925218afe469a799ca17aec1e607e568.zip
gcc-13eee16e925218afe469a799ca17aec1e607e568.tar.gz
gcc-13eee16e925218afe469a799ca17aec1e607e568.tar.bz2
testsuite: Fix gcc.dg/tree-ssa/cswtch-[67].c on Solaris/SPARC with as
The gcc.dg/tree-ssa/cswtch-[67].c tests FAIL on Solaris/SPARC with the native as: FAIL: gcc.dg/tree-ssa/cswtch-6.c scan-assembler .rodata.cst16 FAIL: gcc.dg/tree-ssa/cswtch-7.c scan-assembler .rodata.cst32 The issue is the same in both cases: compared to the gas version, with as there's only - .section .rodata.cst32,"aM",@progbits,32 + .section ".rodata" It turns out that varasm.c (mergeable_constant_section) only emits the former if HAVE_GAS_SHF_MERGE, which is 0 with the native as. Fixed by xfailing the tests in this case. Tested on sparc-sun-solaris2.11 with both as and gas. 2025-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> gcc/testsuite: * gcc.dg/tree-ssa/cswtch-6.c (dg-final): xfail on sparc*-*-solaris2* && !gas. * gcc.dg/tree-ssa/cswtch-7.c: Likewise.
Diffstat (limited to 'libgomp/testsuite/libgomp.c-c++-common/lastprivate-conditional-10.c')
0 files changed, 0 insertions, 0 deletions