gcc/libgomp/testsuite/libgomp.c++
Jakub Jelinek 5d05d496b2 libgomp: Don't test ompx::allocator::gnu_pinned_mem on non-linux targets.
The libgomp.c/alloc-pinned*.c test have
/* { dg-skip-if "Pinning not implemented on this host" { ! *-*-linux-gnu* } } */
so they are only run on Linux targets right now.  Duplicating the tests or
reworking them into headers looked like too much work for me right now this
late in stage4, so I've just #ifdefed the uses at least for now.

2025-04-17  Jakub Jelinek  <jakub@redhat.com>

	PR libgomp/119849
	* testsuite/libgomp.c++/allocator-1.C (test_inequality, main): Guard
	ompx::allocator::gnu_pinned_mem uses with #ifdef __gnu_linux__.
	* testsuite/libgomp.c++/allocator-2.C (main): Likewise.
2025-04-17 12:14:15 +02:00
..
examples-4
affinity-1.C
allocate-1.C
allocator-1.C libgomp: Don't test ompx::allocator::gnu_pinned_mem on non-linux targets. 2025-04-17 12:14:15 +02:00
allocator-2.C libgomp: Don't test ompx::allocator::gnu_pinned_mem on non-linux targets. 2025-04-17 12:14:15 +02:00
atomic-1.C
atomic-2.C
atomic-3.C
atomic-4.C
atomic-5.C
atomic-6.C
atomic-7.C
atomic-8.C
atomic-9.C
atomic-10.C
atomic-11.C
atomic-12.C
atomic-13.C
atomic-14.C
atomic-15.C
atomic-16.C
atomic-17.C
attrs-imperfect1.C OpenMP: C++ support for imperfectly-nested loops 2023-08-25 19:42:50 +00:00
attrs-imperfect2.C OpenMP: C++ support for imperfectly-nested loops 2023-08-25 19:42:50 +00:00
attrs-imperfect3.C OpenMP: C++ support for imperfectly-nested loops 2023-08-25 19:42:50 +00:00
attrs-imperfect4.C OpenMP: C++ support for imperfectly-nested loops 2023-08-25 19:42:50 +00:00
attrs-imperfect5.C OpenMP: C++ support for imperfectly-nested loops 2023-08-25 19:42:50 +00:00
attrs-imperfect6.C OpenMP: C++ support for imperfectly-nested loops 2023-08-25 19:42:50 +00:00
baseptrs-3.C OpenMP/OpenACC: Rework clause expansion and nested struct handling 2023-12-13 20:30:49 +00:00
baseptrs-4.C OpenMP: lvalue parsing for map/to/from clauses (C++) 2024-01-09 10:08:18 +00:00
baseptrs-5.C OpenMP/OpenACC: Rework clause expansion and nested struct handling 2023-12-13 20:30:49 +00:00
baseptrs-6.C OpenMP: lvalue parsing for map/to/from clauses (C++) 2024-01-09 10:08:18 +00:00
baseptrs-8.C OpenMP/OpenACC: Rework clause expansion and nested struct handling 2023-12-13 20:30:49 +00:00
baseptrs-9.C OpenMP/OpenACC: Rework clause expansion and nested struct handling 2023-12-13 20:30:49 +00:00
c++.exp libgomp: Consider '--with-build-sysroot=[...]' for target libraries' build-tree testing (instead of build-time 'CC' etc.) [PR91884, PR109951] 2023-09-12 11:30:37 +02:00
cancel-for-1.C
cancel-for-2.C
cancel-parallel-1.C
cancel-parallel-2.C
cancel-parallel-3.C
cancel-sections-1.C
cancel-taskgroup-3.C
cancel-test.h
class-array-1.C OpenMP/OpenACC: Rework clause expansion and nested struct handling 2023-12-13 20:30:49 +00:00
collapse-1.C
collapse-2.C
copyin-1.C
copyin-2.C
ctor-1.C
ctor-2.C
ctor-3.C
ctor-4.C
ctor-5.C
ctor-6.C
ctor-7.C
ctor-8.C
ctor-9.C
ctor-10.C
ctor-11.C
ctor-12.C
ctor-13.C
declare-target-indirect-1.C testsuite: libgomp: fix dg-do run typo 2024-07-31 16:09:50 +01:00
declare_target-1.C
default-1.C
depend-1.C
depend-iterator-1.C
depobj-1.C
doacross-1.C
firstprivate-1.C OpenMP/C++: Fix (first)private clause with member variables [PR110347] 2024-03-01 17:26:42 +01:00
firstprivate-2.C OpenMP/C++: Fix (first)private clause with member variables [PR110347] 2024-03-01 17:26:42 +01:00
for-1.C
for-2.C
for-3.C
for-4.C
for-5.C
for-6.C
for-7.C
for-8.C
for-15.C
for-16.C
for-21.C
for-22.C
for-23.C
for-24.C
for-25.C
for-26.C
for-27.C
imperfect-class-1.C OpenMP: C++ support for imperfectly-nested loops 2023-08-25 19:42:50 +00:00
imperfect-class-2.C OpenMP: C++ support for imperfectly-nested loops 2023-08-25 19:42:50 +00:00
imperfect-class-3.C OpenMP: C++ support for imperfectly-nested loops 2023-08-25 19:42:50 +00:00
imperfect-destructor.C OpenMP: C++ support for imperfectly-nested loops 2023-08-25 19:42:50 +00:00
imperfect-template-1.C OpenMP: C++ support for imperfectly-nested loops 2023-08-25 19:42:50 +00:00
imperfect-template-2.C OpenMP: C++ support for imperfectly-nested loops 2023-08-25 19:42:50 +00:00
imperfect-template-3.C OpenMP: C++ support for imperfectly-nested loops 2023-08-25 19:42:50 +00:00
ind-base-1.C OpenMP: lvalue parsing for map/to/from clauses (C++) 2024-01-09 10:08:18 +00:00
ind-base-2.C OpenMP: lvalue parsing for map/to/from clauses (C++) 2024-01-09 10:08:18 +00:00
lastprivate-conditional-1.C
lastprivate-conditional-2.C
linear-1.C
loop-1.C
loop-2.C
loop-3.C Revert "Set num_threads to 50 on 32-bit hppa in two libgomp loop tests" 2024-03-06 17:01:59 +00:00
loop-4.C
loop-5.C
loop-6.C
loop-7.C
loop-8.C
loop-9.C
loop-10.C
loop-11.C
loop-12.C
loop-13.C
loop-14.C
loop-15.C
lvalue-tofrom-1.C OpenMP: lvalue parsing for map/to/from clauses (C++) 2024-01-09 10:08:18 +00:00
lvalue-tofrom-2.C OpenMP: lvalue parsing for map/to/from clauses (C++) 2024-01-09 10:08:18 +00:00
map-comma-1.C OpenMP: lvalue parsing for map/to/from clauses (C++) 2024-01-09 10:08:18 +00:00
map-rvalue-ref-1.C OpenMP: lvalue parsing for map/to/from clauses (C++) 2024-01-09 10:08:18 +00:00
master-1.C
matrix-no-directive-unroll-full-1.C openmp: OpenMP loop transformation support 2024-06-05 19:10:26 +02:00
member-1.C
member-2.C
member-3.C
member-4.C
member-5.C
member-6.C
member-7.C
metadirective-template-1.C OpenMP: C++ support for metadirectives and dynamic selectors. 2025-01-16 18:12:17 +00:00
metadirective-template-2.C OpenMP: C++ support for metadirectives and dynamic selectors. 2025-01-16 18:12:17 +00:00
metadirective-template-3.C OpenMP: C++ support for metadirectives and dynamic selectors. 2025-01-16 18:12:17 +00:00
nested-1.C
parallel-1.C
pr24455-1.C
pr24455.C testsuite: fix dg-require-effective-target order vs dg-additional-sources 2024-07-31 16:09:54 +01:00
pr26691.C
pr26943.C
pr27337.C
pr30703.C
pr34513.C
pr35185.C
pr38650.C
pr39573.C
pr43893.C
pr48869.C
pr49043.C
pr56217.C
pr58706.C
pr63248.C
pr66702-1.C
pr66702-2.C
pr69393.C
pr69555-1.C
pr69555-2.C
pr70376.C
pr81130.C
pr81314.C
pr82835.C
pr86291.C
pr86539.C
pr86542.C
pr88988.C
pr93931.C
pr96390.C For nvptx offloading, make sure to emit C++ constructor, destructor aliases [PR97106] 2025-04-16 16:03:04 +02:00
pr96835-1-O0.C Add 'libgomp.c++/pr96835-1{,-O0}.C', 'libgomp.oacc-c++/pr96835-1.C' [PR96835] 2025-03-24 09:39:21 +01:00
pr96835-1.C Add 'libgomp.c++/pr96835-1{,-O0}.C', 'libgomp.oacc-c++/pr96835-1.C' [PR96835] 2025-03-24 09:39:21 +01:00
pr101544-1-O0.C driver: Forward '-lstdc++' to offloading compilation [PR101544] 2025-03-26 14:20:20 +01:00
pr101544-1.C driver: Forward '-lstdc++' to offloading compilation [PR101544] 2025-03-26 14:20:20 +01:00
pr106445-1-O0.C Add 'libgomp.c++/pr106445-1{,-O0}.C' [PR106445] 2025-04-16 16:07:07 +02:00
pr106445-1.C Add 'libgomp.c++/pr106445-1{,-O0}.C' [PR106445] 2025-04-16 16:07:07 +02:00
pr108180.C openmp: Don't try to destruct DECL_OMP_PRIVATIZED_MEMBER vars [PR108180] 2022-12-21 09:10:03 +01:00
pr108286.C openmp: Fix up finish_omp_target_clauses [PR108286] 2023-01-05 11:57:30 +01:00
pr114572.C c++: Fix ICE with weird copy assignment operator [PR114572] 2024-04-05 09:31:28 +02:00
pr119692-1-1.C Add PR119692 "C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading" test cases [PR119692] 2025-04-14 23:54:48 +02:00
pr119692-1-2.C Add PR119692 "C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading" test cases [PR119692] 2025-04-14 23:54:48 +02:00
pr119692-1-3.C Add PR119692 "C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading" test cases [PR119692] 2025-04-14 23:54:48 +02:00
pr119692-1-4.C Add PR119692 "C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading" test cases [PR119692] 2025-04-14 23:54:48 +02:00
pr119692-1-5.C Add PR119692 "C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading" test cases [PR119692] 2025-04-14 23:54:48 +02:00
private-1.C OpenMP/C++: Fix (first)private clause with member variables [PR110347] 2024-03-01 17:26:42 +01:00
private-2.C OpenMP/C++: Fix (first)private clause with member variables [PR110347] 2024-03-01 17:26:42 +01:00
range-for-1.C c++: Implement C++23 P2718R0 - Wording for P2644R1 Fix for Range-based for Loop [PR107637] 2024-09-24 20:24:57 +02:00
range-for-2.C c++: Implement C++23 P2718R0 - Wording for P2644R1 Fix for Range-based for Loop [PR107637] 2024-09-24 20:24:57 +02:00
range-for-3.C c++: Implement C++23 P2718R0 - Wording for P2644R1 Fix for Range-based for Loop [PR107637] 2024-09-24 20:24:57 +02:00
range-for-4.C c++: don't default -frange-for-ext-temps in -std=gnu++20 [PR188574] 2025-02-12 00:07:51 +01:00
range-for-5.C c++: Implement C++23 P2718R0 - Wording for P2644R1 Fix for Range-based for Loop [PR107637] 2024-09-24 20:24:57 +02:00
reduction-1.C
reduction-2.C
reduction-3.C
reduction-4.C
reduction-5.C
reduction-6.C
reduction-7.C
reduction-8.C
reduction-9.C
reduction-10.C
reduction-11.C
reduction-12.C
ref-mapping-1.C OpenMP/OpenACC: Rework clause expansion and nested struct handling 2023-12-13 20:30:49 +00:00
reference-1.C
scan-1.C
scan-2.C
scan-3.C
scan-4.C
scan-5.C
scan-6.C
scan-7.C
scan-8.C
scan-9.C vectorizer: Fix up -fsimd-cost-model= handling 2021-10-12 09:28:10 +02:00
scan-10.C vectorizer: Fix up -fsimd-cost-model= handling 2021-10-12 09:28:10 +02:00
scan-11.C vectorizer: Fix up -fsimd-cost-model= handling 2021-10-12 09:28:10 +02:00
scan-12.C vectorizer: Fix up -fsimd-cost-model= handling 2021-10-12 09:28:10 +02:00
scan-13.C vectorizer: Fix up -fsimd-cost-model= handling 2021-10-12 09:28:10 +02:00
scan-14.C vectorizer: Fix up -fsimd-cost-model= handling 2021-10-12 09:28:10 +02:00
scan-15.C vectorizer: Fix up -fsimd-cost-model= handling 2021-10-12 09:28:10 +02:00
scan-16.C vectorizer: Fix up -fsimd-cost-model= handling 2021-10-12 09:28:10 +02:00
sections-1.C
shared-1.C
shared-2.C
simd-1.C
simd-2.C
simd-3.C
simd-4.C
simd-5.C
simd-6.C
simd-7.C
simd-8.C
simd-9.C
simd14.C
single-1.C
single-2.C
single-3.C
static-aggr-constructor-destructor-1.C OpenMP: Constructors and destructors for "declare target" static aggregates: Fix effective-target keyword in test cases 2024-08-09 12:59:03 +02:00
static-aggr-constructor-destructor-2.C OpenMP: Constructors and destructors for "declare target" static aggregates: Fix effective-target keyword in test cases 2024-08-09 12:59:03 +02:00
static-aggr-constructor-destructor-3.C OpenMP: Constructors and destructors for "declare target" static aggregates 2024-08-07 19:31:19 +02:00
struct-ref-1.C OpenMP: lvalue parsing for map/to/from clauses (C++) 2024-01-09 10:08:18 +00:00
target-2-aux.cc
target-2.C
target-6.C
target-7.C
target-8.C
target-9.C
target-10.C
target-11.C OpenMP 5.0: Remove array section base-pointer mapping semantics and other front-end adjustments 2021-12-09 00:01:10 +08:00
target-12.C OpenMP 5.0: Remove array section base-pointer mapping semantics and other front-end adjustments 2021-12-09 00:01:10 +08:00
target-13.C
target-14.C
target-15.C OpenMP 5.0: Remove array section base-pointer mapping semantics and other front-end adjustments 2021-12-09 00:01:10 +08:00
target-16.C OpenMP 5.0: Remove array section base-pointer mapping semantics and other front-end adjustments 2021-12-09 00:01:10 +08:00
target-17.C OpenMP 5.0: Remove array section base-pointer mapping semantics and other front-end adjustments 2021-12-09 00:01:10 +08:00
target-18.C OpenMP (C/C++): Keep pointer value of unmapped ptr with default mapping [PR110270] 2023-06-19 09:08:51 +02:00
target-19.C OpenMP (C/C++): Keep pointer value of unmapped ptr with default mapping [PR110270] 2023-06-19 09:08:51 +02:00
target-20.C
target-21.C OpenMP 5.0: Remove array section base-pointer mapping semantics and other front-end adjustments 2021-12-09 00:01:10 +08:00
target-22.C
target-23.C OpenMP 5.0: Remove array section base-pointer mapping semantics and other front-end adjustments 2021-12-09 00:01:10 +08:00
target-48.C OpenMP/OpenACC: Rework clause expansion and nested struct handling 2023-12-13 20:30:49 +00:00
target-49.C OpenMP/OpenACC: Rework clause expansion and nested struct handling 2023-12-13 20:30:49 +00:00
target-exceptions-bad_cast-1.C Add 'std::bad_cast' exception test cases for GCN, nvptx target and OpenACC, OpenMP 'target' offloading 2025-04-14 23:54:53 +02:00
target-exceptions-bad_cast-2-offload-sorry-GCN.C GCN, nvptx: Support '-mfake-exceptions', and use it for offloading compilation [PR118794] 2025-04-14 23:56:05 +02:00
target-exceptions-bad_cast-2-offload-sorry-nvptx.C GCN, nvptx: Support '-mfake-exceptions', and use it for offloading compilation [PR118794] 2025-04-14 23:56:05 +02:00
target-exceptions-bad_cast-2.C GCN, nvptx: Support '-mfake-exceptions', and use it for offloading compilation [PR118794] 2025-04-14 23:56:05 +02:00
target-exceptions-bad_cast-3.C Add 'std::bad_cast' exception, dead code test cases for GCN, nvptx target and OpenACC, OpenMP 'target' offloading 2025-04-14 23:54:53 +02:00
target-exceptions-pr118794-1-offload-sorry-GCN.C GCN, nvptx: Support '-mfake-exceptions', and use it for offloading compilation [PR118794] 2025-04-14 23:56:05 +02:00
target-exceptions-pr118794-1-offload-sorry-nvptx.C GCN, nvptx: Support '-mfake-exceptions', and use it for offloading compilation [PR118794] 2025-04-14 23:56:05 +02:00
target-exceptions-pr118794-1.C Remove 'ALWAYS_INLINE' workaround in 'libgomp.c++/target-exceptions-pr118794-1.C' 2025-04-16 18:31:03 +02:00
target-exceptions-throw-1-O0.C Add 'throw' test cases for GCN, nvptx target and OpenACC, OpenMP 'target' offloading 2025-04-14 23:54:53 +02:00
target-exceptions-throw-1.C Add 'throw' test cases for GCN, nvptx target and OpenACC, OpenMP 'target' offloading 2025-04-14 23:54:53 +02:00
target-exceptions-throw-2-O0.C GCN, nvptx: Support '-mfake-exceptions', and use it for offloading compilation [PR118794] 2025-04-14 23:56:05 +02:00
target-exceptions-throw-2-offload-sorry-GCN.C GCN, nvptx: Support '-mfake-exceptions', and use it for offloading compilation [PR118794] 2025-04-14 23:56:05 +02:00
target-exceptions-throw-2-offload-sorry-nvptx.C GCN, nvptx: Support '-mfake-exceptions', and use it for offloading compilation [PR118794] 2025-04-14 23:56:05 +02:00
target-exceptions-throw-2.C GCN, nvptx: Support '-mfake-exceptions', and use it for offloading compilation [PR118794] 2025-04-14 23:56:05 +02:00
target-exceptions-throw-3.C Add 'throw', dead code test cases for GCN, nvptx target and OpenACC, OpenMP 'target' offloading 2025-04-14 23:54:54 +02:00
target-exit-data-reftoptr-1.C OpenMP/OpenACC: Rework clause expansion and nested struct handling 2023-12-13 20:30:49 +00:00
target-has-device-addr-2.C C, C++, Fortran, OpenMP: Add 'has_device_addr' clause to 'target' construct. 2022-02-09 23:47:12 -08:00
target-has-device-addr-4.C C, C++, Fortran, OpenMP: Add 'has_device_addr' clause to 'target' construct. 2022-02-09 23:47:12 -08:00
target-has-device-addr-5.C C, C++, Fortran, OpenMP: Add 'has_device_addr' clause to 'target' construct. 2022-02-09 23:47:12 -08:00
target-has-device-addr-6.C C, C++, Fortran, OpenMP: Add 'has_device_addr' clause to 'target' construct. 2022-02-09 23:47:12 -08:00
target-has-device-addr-7.C OpenMP, C++: Add template support for the has_device_addr clause. 2022-05-16 01:02:50 -07:00
target-has-device-addr-8.C OpenMP, C++: Add template support for the has_device_addr clause. 2022-05-16 01:02:50 -07:00
target-has-device-addr-9.C OpenMP, C++: Add template support for the has_device_addr clause. 2022-05-16 01:02:50 -07:00
target-in-reduction-1.C
target-in-reduction-2.C
target-lambda-1.C OpenMP/C++: Fix (first)private clause with member variables [PR110347] 2024-03-01 17:26:42 +01:00
target-lambda-2.C openmp: Improve OpenMP target support for C++ (PR92120) 2021-12-08 22:29:06 +08:00
target-lambda-3.C OpenMP/C++: Fix (first)private clause with member variables [PR110347] 2024-03-01 17:26:42 +01:00
target-lambda-4.C OpenMP/C++: Fix (first)private clause with member variables [PR110347] 2024-03-01 17:26:42 +01:00
target-map-class-1.C LTO: Fix writing of toplevel asm with offloading [PR109816] 2023-05-12 16:29:43 +02:00
target-map-class-2.C testsuite: dg-require LTO for libgomp LTO tests 2023-07-13 08:54:20 -04:00
target-same-name-2-a.C LTO: Fixes for renaming issues with offload/OpenMP [PR104285] 2022-03-23 09:44:39 +01:00
target-same-name-2-b.C LTO: Fixes for renaming issues with offload/OpenMP [PR104285] 2022-03-23 09:44:39 +01:00
target-same-name-2.C LTO: Fixes for renaming issues with offload/OpenMP [PR104285] 2022-03-23 09:44:39 +01:00
target-this-1.C openmp: Improve OpenMP target support for C++ (PR92120) 2021-12-08 22:29:06 +08:00
target-this-2.C openmp: Improve OpenMP target support for C++ (PR92120) 2021-12-08 22:29:06 +08:00
target-this-3.C OpenMP/OpenACC: Rework clause expansion and nested struct handling 2023-12-13 20:30:49 +00:00
target-this-4.C OpenMP/OpenACC: Rework clause expansion and nested struct handling 2023-12-13 20:30:49 +00:00
target-this-5.C openmp: Improve OpenMP target support for C++ (PR92120) 2021-12-08 22:29:06 +08:00
target-virtual-1.C OpenMP/C++: Permit mapping classes with virtual members [PR102204] 2022-02-10 19:03:42 +01:00
task-1.C
task-2.C
task-3.C
task-4.C
task-5.C
task-6.C
task-7.C
task-8.C
task-reduction-1.C
task-reduction-2.C
task-reduction-3.C
task-reduction-4.C
task-reduction-5.C
task-reduction-6.C
task-reduction-7.C
task-reduction-8.C
task-reduction-9.C
task-reduction-10.C
task-reduction-11.C
task-reduction-12.C
task-reduction-13.C
task-reduction-14.C
task-reduction-15.C
task-reduction-16.C
task-reduction-17.C
task-reduction-18.C
task-reduction-19.C
taskloop-5.C
taskloop-6.C
taskloop-7.C
taskloop-8.C
taskloop-9.C
taskloop-reduction-1.C
taskloop-reduction-2.C
taskloop-reduction-3.C
taskloop-reduction-4.C
tile-2.C openmp: OpenMP loop transformation support 2024-06-05 19:10:26 +02:00
tile-3.C openmp: OpenMP loop transformation support 2024-06-05 19:10:26 +02:00
tls-init1.C
udr-1.C
udr-2.C
udr-3.C
udr-4.C
udr-5.C
udr-6.C
udr-7.C
udr-8.C
udr-11.C
udr-12.C
udr-13.C
udr-14.C
udr-15.C
udr-16.C
udr-17.C
udr-18.C
udr-19.C
udr-20.C
udr-21.C
unroll-1.C openmp: OpenMP loop transformation support 2024-06-05 19:10:26 +02:00
unroll-2.C openmp: OpenMP loop transformation support 2024-06-05 19:10:26 +02:00
unroll-full-tile.C openmp: OpenMP loop transformation support 2024-06-05 19:10:26 +02:00
use_device_ptr-1.C OpenMP/C++: Fix (first)private clause with member variables [PR110347] 2024-03-01 17:26:42 +01:00