gcc/libgomp/testsuite/libgomp.c
Jakub Jelinek 0ccba4ed85 openmp: Add support for enter clause on declare target
OpenMP 5.1 and earlier had 2 different uses of to clause, one for target
update construct with one semantics, and one for declare target directive
with a different semantics.
Under the hood we were using OMP_CLAUSE_TO_DECLARE to represent the latter.
OpenMP 5.2 renamed the declare target clause to to enter, the old one is
kept as a deprecated alias.

As we are far from having full OpenMP 5.2 support, this patch adds support
for the enter clause (and renames OMP_CLAUSE_TO_DECLARE to OMP_CLAUSE_ENTER
with a flag to tell the spelling of the clause for better diagnostics),
but doesn't deprecate the to clause on declare target just yet (that
should be done as one of the last steps in 5.2 support).

2022-05-27  Jakub Jelinek  <jakub@redhat.com>

gcc/
	* tree-core.h (enum omp_clause_code): Rename OMP_CLAUSE_TO_DECLARE
	to OMP_CLAUSE_ENTER.
	* tree.h (OMP_CLAUSE_ENTER_TO): Define.
	* tree.cc (omp_clause_num_ops, omp_clause_code_name): Rename
	OMP_CLAUSE_TO_DECLARE to OMP_CLAUSE_ENTER.
	* tree-pretty-print.cc (dump_omp_clause): Handle OMP_CLAUSE_ENTER
	instead of OMP_CLAUSE_TO_DECLARE, if OMP_CLAUSE_ENTER_TO, print
	"to" instead of "enter".
	* tree-nested.cc (convert_nonlocal_omp_clauses,
	convert_local_omp_clauses): Handle OMP_CLAUSE_ENTER instead of
	OMP_CLAUSE_TO_DECLARE.
gcc/c-family/
	* c-pragma.h (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_ENTER.
gcc/c/
	* c-parser.cc (c_parser_omp_clause_name): Parse enter clause.
	(c_parser_omp_all_clauses): For to clause on declare target, use
	OMP_CLAUSE_ENTER clause with OMP_CLAUSE_ENTER_TO instead of
	OMP_CLAUSE_TO_DECLARE clause.  Handle PRAGMA_OMP_CLAUSE_ENTER.
	(OMP_DECLARE_TARGET_CLAUSE_MASK): Add enter clause.
	(c_parser_omp_declare_target): Use OMP_CLAUSE_ENTER instead of
	OMP_CLAUSE_TO_DECLARE.
	* c-typeck.cc (c_finish_omp_clauses): Handle OMP_CLAUSE_ENTER instead
	of OMP_CLAUSE_TO_DECLARE, to OMP_CLAUSE_ENTER_TO use "to" as clause
	name in diagnostics instead of
	omp_clause_code_name[OMP_CLAUSE_CODE (c)].
gcc/cp/
	* parser.cc (cp_parser_omp_clause_name): Parse enter clause.
	(cp_parser_omp_all_clauses): For to clause on declare target, use
	OMP_CLAUSE_ENTER clause with OMP_CLAUSE_ENTER_TO instead of
	OMP_CLAUSE_TO_DECLARE clause.  Handle PRAGMA_OMP_CLAUSE_ENTER.
	(OMP_DECLARE_TARGET_CLAUSE_MASK): Add enter clause.
	(cp_parser_omp_declare_target): Use OMP_CLAUSE_ENTER instead of
	OMP_CLAUSE_TO_DECLARE.
	* semantics.cc (finish_omp_clauses): Handle OMP_CLAUSE_ENTER instead
	of OMP_CLAUSE_TO_DECLARE, to OMP_CLAUSE_ENTER_TO use "to" as clause
	name in diagnostics instead of
	omp_clause_code_name[OMP_CLAUSE_CODE (c)].
gcc/testsuite/
	* c-c++-common/gomp/clauses-3.c: Add tests with enter clause instead
	of to or modify some existing to clauses to enter.
	* c-c++-common/gomp/declare-target-1.c: Likewise.
	* c-c++-common/gomp/declare-target-2.c: Likewise.
	* c-c++-common/gomp/declare-target-3.c: Likewise.
	* g++.dg/gomp/attrs-9.C: Likewise.
	* g++.dg/gomp/declare-target-1.C: Likewise.
libgomp/
	* testsuite/libgomp.c-c++-common/target-40.c: Modify some existing to
	clauses to enter.
	* testsuite/libgomp.c/target-41.c: Likewise.
2022-05-27 12:48:48 +02:00
..
appendix-a openmp: Mark deprecated symbols in OpenMP 5.0 2020-11-05 10:32:56 -08:00
examples-4 [hsa testsuite] Adjust libgomp tests that do not work on host fallback 2016-03-07 19:42:33 +01:00
address-space-1.c Host and offload targets have no common meaning of address spaces 2022-01-13 11:16:20 +01:00
affinity-1.c Update copyright years. 2022-01-03 10:42:10 +01:00
affinity-2.c openmp: Mark deprecated symbols in OpenMP 5.0 2020-11-05 10:32:56 -08:00
atomic-1.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
atomic-2.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
atomic-3.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
atomic-4.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
atomic-5.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
atomic-6.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
atomic-10.c
atomic-11.c backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
atomic-12.c backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
atomic-13.c backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
atomic-14.c target.c: New file. 2013-10-11 11:26:50 +02:00
atomic-15.c target.c: New file. 2013-10-11 11:26:50 +02:00
atomic-16.c target.c: New file. 2013-10-11 11:26:50 +02:00
atomic-17.c c-parser.c (c_parser_omp_atomic): Allow seq_cst before atomic-clause... 2014-04-24 23:20:28 +02:00
autopar-1.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
autopar-2.c Fix inner loop phi in expand_omp_for_static_chunk 2015-09-03 11:01:14 +00:00
autopar-3.c Add param parloops-schedule 2015-10-13 10:08:59 +00:00
autopar-4.c Add param parloops-schedule 2015-10-13 10:08:59 +00:00
autopar-5.c Add param parloops-schedule 2015-10-13 10:08:59 +00:00
autopar-6.c Add param parloops-schedule 2015-10-13 10:08:59 +00:00
autopar-7.c Add param parloops-schedule 2015-10-13 10:08:59 +00:00
autopar-8.c Add param parloops-schedule 2015-10-13 10:08:59 +00:00
barrier-1.c
c.exp Introduce libgomp/testsuite/libgomp.c-c++-common 2017-09-14 21:15:40 +00:00
cancel-for-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-for-2.c builtin-types.def (BT_FN_VOID_BOOL, [...]): New. 2018-11-08 18:13:04 +01:00
cancel-parallel-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-parallel-2.c re PR c/63326 (whether a #pragma is a statement depends on the type of pragma) 2015-11-27 09:59:55 +01:00
cancel-parallel-3.c target.c: New file. 2013-10-11 11:26:50 +02:00
cancel-sections-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
collapse-1.c
collapse-2.c
collapse-3.c Use dg-additional-options for -std={gnu99,c99} 2015-06-15 13:26:03 +00:00
copyin-1.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
copyin-2.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
copyin-3.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
critical-1.c
critical-2.c
debug-1.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
declare-variant-1.c lto: LTO cgraph support for late declare variant resolution [PR96680] 2020-10-28 10:29:09 +01:00
declare-variant-2.c openmp: Fix up handling of kind(host) and kind(nohost) in ACCEL_COMPILERs [PR103384] 2021-11-24 10:30:32 +01:00
declare-variant-3-sm30.c [libgomp, testsuite, nvptx] Add -mptx=_ in declare-variant-3-sm*.c 2022-02-28 10:10:51 +01:00
declare-variant-3-sm35.c [libgomp, testsuite, nvptx] Add -mptx=_ in declare-variant-3-sm*.c 2022-02-28 10:10:51 +01:00
declare-variant-3-sm53.c [libgomp, testsuite, nvptx] Add -mptx=_ in declare-variant-3-sm*.c 2022-02-28 10:10:51 +01:00
declare-variant-3-sm70.c [libgomp, testsuite, nvptx] Add -mptx=_ in declare-variant-3-sm*.c 2022-02-28 10:10:51 +01:00
declare-variant-3-sm75.c [libgomp, testsuite, nvptx] Add -mptx=_ in declare-variant-3-sm*.c 2022-02-28 10:10:51 +01:00
declare-variant-3-sm80.c [libgomp, testsuite, nvptx] Add -mptx=_ in declare-variant-3-sm*.c 2022-02-28 10:10:51 +01:00
declare-variant-3.h [libgomp, testsuite, nvptx] Add libgomp.c/declare-variant-3-sm*.c 2022-02-24 11:41:03 +01:00
depend-1.c target.c: New file. 2013-10-11 11:26:50 +02:00
depend-2.c target.c: New file. 2013-10-11 11:26:50 +02:00
depend-3.c target.c: New file. 2013-10-11 11:26:50 +02:00
depend-4.c target.c: New file. 2013-10-11 11:26:50 +02:00
depend-5.c libgomp.h (struct gomp_task_depend_entry): Add redundant_out field. 2014-08-01 10:05:13 +02:00
depend-6.c task.c (GOMP_taskgroup_end): If taskgroup->num_children is not zero... 2014-08-04 17:45:50 +02:00
depend-7.c task.c (GOMP_taskgroup_end): If taskgroup->num_children is not zero... 2014-08-04 17:45:50 +02:00
depend-8.c task.c (GOMP_taskgroup_end): If taskgroup->num_children is not zero... 2014-08-04 17:45:50 +02:00
depend-9.c task.c (GOMP_taskgroup_end): If taskgroup->num_children is not zero... 2014-08-04 17:45:50 +02:00
depend-10.c task.c (GOMP_taskgroup_end): If taskgroup->num_children is not zero... 2014-08-04 17:45:50 +02:00
doacross-1.c omp-low.c (lower_omp_target): Fix up argument to is_reference. 2016-11-10 12:38:05 +01:00
doacross-2.c omp-low.c (lower_omp_target): Fix up argument to is_reference. 2016-11-10 12:38:05 +01:00
doacross-3.c omp-low.c (lower_omp_target): Fix up argument to is_reference. 2016-11-10 12:38:05 +01:00
icv-1.c
icv-2.c affinity-1.c: Remove alloca.h inlcude. 2013-12-17 19:05:32 +01:00
lib-1.c openmp: Mark deprecated symbols in OpenMP 5.0 2020-11-05 10:32:56 -08:00
lib-2.c openmp: Add support for the omp_get_supported_active_levels runtime library routine 2020-10-13 13:21:02 -07:00
linear-1.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
lock-1.c
lock-2.c
lock-3.c affinity-1.c: Remove alloca.h inlcude. 2013-12-17 19:05:32 +01:00
loop-1.c
loop-2.c
loop-3.c
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-16.c tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define. 2014-04-24 23:17:32 +02:00
loop-17.c openmp: Non-rectangular loop support for non-composite worksharing loops and distribute 2020-06-27 12:43:36 +02:00
loop-18.c openmp: Non-rectangular loop support for non-composite worksharing loops and distribute 2020-06-27 12:43:36 +02:00
loop-19.c openmp: Optimize triangular loop logical iterator to actual iterators computation using search for quadratic equation root(s) 2020-07-09 12:07:17 +02:00
loop-20.c openmp: Optimize triangular loop logical iterator to actual iterators computation using search for quadratic equation root(s) 2020-07-09 12:07:17 +02:00
loop-21.c openmp: Adjust outer bounds of non-rect loops 2020-07-14 10:31:59 +02:00
loop-22.c openmp: Add support for non-rectangular loops in taskloop construct 2020-08-13 09:06:05 +02:00
loop-23.c openmp: Add support for non-rectangular loops in taskloop construct 2020-08-13 09:06:05 +02:00
loop-24.c openmp: Add support for non-rectangular loops in taskloop construct 2020-08-13 09:06:05 +02:00
loop-25.c openmp: Add support for non-rect simd and improve collapsed simd support 2020-09-25 10:43:37 +02:00
loop-26.c openmp: Allow non-rectangular loops with pointer iterators 2021-10-27 09:22:07 +02:00
loop-27.c openmp: Allow non-rectangular loops with pointer iterators 2021-10-27 09:22:07 +02:00
nested-1.c openmp: Mark deprecated symbols in OpenMP 5.0 2020-11-05 10:32:56 -08:00
nested-2.c openmp: Mark deprecated symbols in OpenMP 5.0 2020-11-05 10:32:56 -08:00
nested-3.c openmp: Mark deprecated symbols in OpenMP 5.0 2020-11-05 10:32:56 -08:00
nestedfn-1.c
nestedfn-2.c
nestedfn-3.c
nestedfn-4.c
nestedfn-5.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
nestedfn-6.c
nqueens-1.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
omp_hello.c
omp_matvec.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp_orphan.c
omp_reduction.c
omp_workshare1.c
omp_workshare2.c
omp_workshare3.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp_workshare4.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp-loop01.c
omp-loop02.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp-loop03.c
omp-nested-1.c
omp-nested-2.c Fix GOMP/GOACC_parallel handling in find_func_clobbers 2015-12-09 10:13:35 +00:00
omp-nested-3.c testsuite: prune new LTO warning 2021-05-13 09:24:23 +02:00
omp-parallel-for.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp-parallel-if.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp-single-1.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp-single-2.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
omp-single-3.c
ordered-1.c
ordered-2.c
ordered-3.c
ordered-5.c omp-low.c (lower_omp_ordered): Add argument to GOMP_SMD_ORDERED_* internal calls - 0 if... 2015-11-14 19:42:13 +01:00
parallel-1.c
parloops-exit-first-loop-alt-2.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
parloops-exit-first-loop-alt-3.c Fix libgomp.c/parloops-exit-first-loop-alt{,-3}.c testcases 2015-07-08 12:31:00 +00:00
parloops-exit-first-loop-alt-4.c Use abort in parloops-exit-first-loop-alt-{3,4}.c 2015-06-23 15:02:25 +00:00
parloops-exit-first-loop-alt-5.c Add parloops-exit-first-loop-alt-{5,6,7}.c 2015-06-30 11:00:32 +00:00
parloops-exit-first-loop-alt-6.c Add parloops-exit-first-loop-alt-{5,6,7}.c 2015-06-30 11:00:32 +00:00
parloops-exit-first-loop-alt-7.c Add parloops-exit-first-loop-alt-{5,6,7}.c 2015-06-30 11:00:32 +00:00
parloops-exit-first-loop-alt.c Fix libgomp.c/parloops-exit-first-loop-alt{,-3}.c testcases 2015-07-08 12:31:00 +00:00
places-1.c openmp: Add support for OMP_PLACES=ll_caches 2021-10-15 12:06:51 +02:00
places-2.c openmp: Add support for OMP_PLACES=ll_caches 2021-10-15 12:06:51 +02:00
places-3.c openmp: Add support for OMP_PLACES=ll_caches 2021-10-15 12:06:51 +02:00
places-4.c openmp: Add support for OMP_PLACES=ll_caches 2021-10-15 12:06:51 +02:00
places-5.c openmp: Add support for OMP_PLACES=numa_domains 2021-10-15 12:16:50 +02:00
places-6.c openmp: Fix up handling of OMP_PLACES=threads(1) 2021-10-15 16:25:25 +02:00
places-7.c openmp: Fix up handling of OMP_PLACES=threads(1) 2021-10-15 16:25:25 +02:00
places-8.c openmp: Fix up handling of OMP_PLACES=threads(1) 2021-10-15 16:25:25 +02:00
places-9.c openmp: Fix up handling of OMP_PLACES=threads(1) 2021-10-15 16:25:25 +02:00
places-10.c openmp: Fix up handling of OMP_PLACES=threads(1) 2021-10-15 16:25:25 +02:00
pr24455-1.c
pr24455.c
pr26171.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
pr26943-1.c
pr26943-2.c re PR c/53580 (Internal Segmentation fault in nested "omp parallel", "omp parallel for" and "omp parallel for reduction" Directives) 2012-06-07 08:36:55 +02:00
pr26943-3.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
pr26943-4.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
pr29947-1.c
pr29947-2.c
pr30494.c
pr32362-1.c openmp: Mark deprecated symbols in OpenMP 5.0 2020-11-05 10:32:56 -08:00
pr32362-2.c openmp: Mark deprecated symbols in OpenMP 5.0 2020-11-05 10:32:56 -08:00
pr32362-3.c openmp: Mark deprecated symbols in OpenMP 5.0 2020-11-05 10:32:56 -08:00
pr32468.c
pr33880.c
pr34513.c
pr35130.c
pr35196.c
pr35549.c openmp: Mark deprecated symbols in OpenMP 5.0 2020-11-05 10:32:56 -08:00
pr35625.c Fix typo in libgomp/testsuite/libgomp.c/pr35625.c 2015-06-15 13:57:04 +00:00
pr36802-1.c
pr36802-2.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
pr36802-3.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
pr38650.c
pr39154.c Use dg-additional-options for -std={gnu99,c99} 2015-06-15 13:26:03 +00:00
pr39591-1.c Fix failures on Solaris with -fno-common default 2019-11-21 16:14:21 +00:00
pr39591-2.c Fix failures on Solaris with -fno-common default 2019-11-21 16:14:21 +00:00
pr39591-3.c Fix failures on Solaris with -fno-common default 2019-11-21 16:14:21 +00:00
pr42029.c
pr42942.c openmp: Mark deprecated symbols in OpenMP 5.0 2020-11-05 10:32:56 -08:00
pr43893.c
pr46032-2.c testsuite: prune new LTO warning 2021-05-13 09:24:23 +02:00
pr46032.c Handle BUILT_IN_GOMP_PARALLEL in ipa-pta 2015-11-30 16:34:26 +00:00
pr46193.c Handle mix/max pointer reductions in parloops 2015-08-29 07:07:51 +00:00
pr46886.c re PR tree-optimization/46886 (wrong code with -ftree-parallelize-loops -fno-tree-ch) 2012-02-08 15:28:01 +00:00
pr48591.c Enable libgomp.c/pr48591.c on __float128 targets 2017-02-15 16:35:54 +00:00
pr49897-1.c re PR middle-end/49897 (nesting lastprivate gives incorrect result) 2011-07-29 19:45:42 +02:00
pr49897-2.c re PR middle-end/49897 (nesting lastprivate gives incorrect result) 2011-07-29 19:45:42 +02:00
pr49898-1.c re PR middle-end/49897 (nesting lastprivate gives incorrect result) 2011-07-29 19:45:42 +02:00
pr49898-2.c re PR middle-end/49897 (nesting lastprivate gives incorrect result) 2011-07-29 19:45:42 +02:00
pr52547.c re PR middle-end/52547 (ICE with openmp with nested function which requires a trampoline) 2012-03-22 20:25:36 +01:00
pr58392.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
pr58756.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
pr61200.c openmp: Mark deprecated symbols in OpenMP 5.0 2020-11-05 10:32:56 -08:00
pr64734.c re PR middle-end/64734 (ICE at omp lowering) 2015-01-23 19:19:50 +01:00
pr66133.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
pr66714.c re PR libgomp/66714 (ICE in loc_list_from_tree with -g) 2015-07-24 07:38:43 -07:00
pr68960.c re PR c/68960 (__attribute__ ((aligned ())) is ignored for OpenMP private variables) 2016-01-07 09:45:54 +01:00
pr69110.c Handle DR_NUM_DIMENSIONS == 0 in initialize_data_dependence_relation 2016-01-26 22:11:51 +00:00
pr69805.c re PR driver/69805 (ICE in greater_than_spec_func, at gcc.c:9722) 2016-02-19 23:18:38 +01:00
pr70680-1.c re PR middle-end/70680 (OpenMP SIMD linear variable privatized too eagerly) 2016-04-20 03:42:24 +02:00
pr70680-2.c re PR middle-end/70680 (OpenMP SIMD linear variable privatized too eagerly) 2016-04-20 03:42:24 +02:00
pr79940.c re PR c/79940 (OpenMP pragma - internal compiler error with taskloop) 2017-03-08 18:21:06 +01:00
pr80394.c re PR libgomp/80394 (Empty OpenMP task is wrongly removed when optimizing) 2017-04-11 19:15:47 +02:00
pr80809-1.c re PR middle-end/80809 (Multi-free error for variable size array used within OpenMP task) 2017-05-22 20:54:05 +02:00
pr80809-2.c re PR middle-end/80809 (Multi-free error for variable size array used within OpenMP task) 2017-05-22 20:54:54 +02:00
pr80809-3.c re PR middle-end/80809 (Multi-free error for variable size array used within OpenMP task) 2017-05-22 20:54:54 +02:00
pr80853.c re PR middle-end/80853 (OpenMP ICE in build_outer_var_ref with array reduction) 2017-05-22 20:51:54 +02:00
pr81687-1.c re PR c/81687 (Compiler drops label in OpenMP region) 2017-08-10 02:33:20 +02:00
pr81687-2.c re PR c/81687 (Compiler drops label in OpenMP region) 2017-08-10 02:33:20 +02:00
pr81778.c [omp, simt] Handle alternative IV 2021-04-29 14:37:32 +02:00
pr86416-1.c libgomp/testsuite: Fix checks for dg-excess-errors 2021-04-21 20:07:19 +02:00
pr86416-2.c libgomp/testsuite: Fix checks for dg-excess-errors 2021-04-21 20:07:19 +02:00
pr86660.c re PR middle-end/86660 (libgomp.c++/for-15.C ICEs with nvptx offloading) 2018-07-26 18:12:02 +02:00
pr89002.c re PR middle-end/89002 (ICE in scan_omp_1_op, at omp-low.c:3166) 2019-01-28 23:34:32 +01:00
pr90779.c re PR middle-end/90779 (Fortran array initialization in offload regions) 2019-06-15 09:09:04 +02:00
pr90811.c re PR target/90811 ([nvptx] ptxas error on OpenMP offloaded code) 2019-06-11 18:40:10 +02:00
pr93566.c tree-nested: Fix handling of *reduction clauses with C array sections [PR93566] 2020-03-15 01:27:40 +01:00
pr95620.c x86-64: Define ASM_OUTPUT_ALIGNED_DECL_LOCAL 2020-07-18 08:51:54 -07:00
pr99555-1.c [libgomp, nvptx] Fix hang in gomp_team_barrier_wait_end 2022-02-22 15:48:03 +01:00
pr104385.c libgomp: Fix segfault with posthumous orphan tasks [PR104385] 2022-02-08 09:30:17 +01:00
pr104783-2.c [nvptx] Add warp sync at simt exit 2022-03-22 14:35:34 +01:00
pr104783.c [nvptx] Disable warp sync in simt region 2022-03-10 12:20:44 +01:00
pr104952-1.c [openmp] Fix SIMT reduction using TRUTH_{AND,OR}IF_EXPR 2022-03-18 15:45:13 +01:00
pr104952-2.c [openmp] Fix SIMT reduction using TRUTH_{AND,OR}IF_EXPR 2022-03-18 15:45:13 +01:00
priority.c omp-low.c (lower_omp_ordered): Add argument to GOMP_SMD_ORDERED_* internal calls - 0 if... 2015-11-14 19:42:13 +01:00
private-1.c Fix failures on Solaris with -fno-common default 2019-11-21 16:14:21 +00:00
reduction-1.c
reduction-2.c
reduction-3.c
reduction-4.c
reduction-5.c
reduction-6.c backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
reduction-7.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
reduction-8.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
reduction-9.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
reduction-10.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
reduction-11.c re PR middle-end/68221 (libgomp reduction-11/12 failures) 2015-11-20 20:50:46 +01:00
reduction-12.c re PR middle-end/68221 (libgomp reduction-11/12 failures) 2015-11-20 20:50:46 +01:00
reduction-13.c gcc/ 2015-11-05 16:08:08 +01:00
reduction-14.c gcc/ 2015-11-05 16:08:08 +01:00
reduction-15.c gcc/ 2015-11-05 16:08:08 +01:00
scan-1.c tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__SCANTEMP_ clause. 2019-07-03 07:03:58 +02:00
scan-2.c tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__SCANTEMP_ clause. 2019-07-03 07:03:58 +02:00
scan-3.c tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__SCANTEMP_ clause. 2019-07-03 07:03:58 +02:00
scan-4.c tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__SCANTEMP_ clause. 2019-07-03 07:03:58 +02:00
scan-5.c tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__SCANTEMP_ clause. 2019-07-03 07:03:58 +02:00
scan-6.c tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__SCANTEMP_ clause. 2019-07-03 07:03:58 +02:00
scan-7.c tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__SCANTEMP_ clause. 2019-07-03 07:03:58 +02:00
scan-8.c tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__SCANTEMP_ clause. 2019-07-03 07:03:58 +02:00
scan-9.c omp-expand.c (expand_omp_for_static_nochunk): Don't emit GOMP_loop_start at the start of second worksharing loop in a scan. 2019-07-04 23:40:56 +02:00
scan-10.c omp-expand.c (expand_omp_for_static_nochunk): Don't emit GOMP_loop_start at the start of second worksharing loop in a scan. 2019-07-04 23:40:56 +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
scan-17.c vectorizer: Fix up -fsimd-cost-model= handling 2021-10-12 09:28:10 +02:00
scan-18.c vectorizer: Fix up -fsimd-cost-model= handling 2021-10-12 09:28:10 +02:00
scan-19.c vectorizer: Fix up -fsimd-cost-model= handling 2021-10-12 09:28:10 +02:00
scan-20.c vectorizer: Fix up -fsimd-cost-model= handling 2021-10-12 09:28:10 +02:00
scan-21.c vectorizer: Fix up -fsimd-cost-model= handling 2021-10-12 09:28:10 +02:00
scan-22.c vectorizer: Fix up -fsimd-cost-model= handling 2021-10-12 09:28:10 +02:00
sections-1.c
sections-2.c omp-low.c (expand_omp_sections): Always pass len - 1 to GOMP_sections_start, even if !exit_reachable. 2013-09-19 13:52:52 +02:00
shared-1.c affinity-1.c: Fix implicit declarations. 2014-10-06 10:20:45 +00:00
shared-2.c
shared-3.c
simd-1.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-2.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-3.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-4.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-5.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-6.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-7.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-8.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-9.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-10.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-11.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-12.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
simd-13.c Remove dg-options -O2 in libgomp.c 2015-06-15 18:10:51 +00:00
single-1.c
single-2.c
sort-1.c Update copyright years. 2022-01-03 10:42:10 +01:00
static-chunk-size-one.c Optimize expand_omp_for_static_chunk for chunk_size one 2015-08-24 13:14:17 +00:00
switch-conversion-2.c Fix switch conversion in offloading functions 2018-03-26 09:45:49 +00:00
switch-conversion.c Fix switch conversion in offloading functions 2018-03-26 09:45:49 +00:00
target-3.c OpenMP: Add strictly nested API call check [PR102972] 2021-10-30 23:45:32 +02:00
target-4.c target.c: New file. 2013-10-11 11:26:50 +02:00
target-5.c OpenMP: Add strictly nested API call check [PR102972] 2021-10-30 23:45:32 +02:00
target-6.c OpenMP: Add strictly nested API call check [PR102972] 2021-10-30 23:45:32 +02:00
target-7.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-8.c Remove -fopenmp in dg-options in libgomp.c 2015-06-15 13:26:12 +00:00
target-9.c Make fopenmp an LTO option 2015-01-23 12:53:55 +00:00
target-11.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-12.c gcc/ 2015-11-05 16:08:08 +01:00
target-14.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-15.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-16.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-17.c gcc/ 2015-11-05 16:08:08 +01:00
target-18.c tree-core.h (enum omp_clause_code): Adjust OMP_CLAUSE_USE_DEVICE_PTR OpenMP description. 2019-08-07 09:27:10 +02:00
target-19.c gcc/ 2015-11-05 16:08:08 +01:00
target-20.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-21.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-22.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
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-24.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-25.c omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT regardless whether there are depend clauses or not. 2016-04-12 09:05:29 +02:00
target-26.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-27.c builtin-types.def (BT_FN_BOOL_UINT_LONGPTR_LONGPTR_LONGPTR, [...]): New. 2015-10-13 21:06:23 +02:00
target-28.c gcc/ 2015-11-05 16:08:08 +01:00
target-29.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-30.c gcc/ 2015-11-05 16:08:08 +01:00
target-31.c libgomp: fix target-31.c testcase 2016-02-02 21:18:43 +03:00
target-32.c xfail and improve some failing libgomp tests [PR81690] 2020-10-28 10:30:41 +01:00
target-33.c openmp: ignore nowait if async execution is unsupported [PR93481] 2020-02-13 10:18:31 +01:00
target-34.c openmp: ignore nowait if async execution is unsupported [PR93481] 2020-02-13 10:18:31 +01:00
target-35.c * testsuite/libgomp.c/target-35.c: New test. 2015-11-26 10:44:49 +01:00
target-36.c omp-low: fix lastprivate/linear lowering for SIMT 2017-04-20 20:21:50 +03:00
target-37.c gimplify.c (omp_add_variable): Use GOVD_PRIVATE | GOVD_EXPLICIT for VLA helper variables on target data even if... 2019-08-08 08:39:02 +02:00
target-38.c openmp: Optimize DECL_IN_CONSTANT_POOL vars in target regions 2020-02-09 08:17:10 +01:00
target-39.c openmp: Implement discovery of implicit declare target to clauses 2020-05-12 09:17:09 +02:00
target-40.c openmp: Change omp_get_initial_device () to match OpenMP 5.1 requirements 2020-10-22 09:31:01 +02:00
target-41.c openmp: Add support for enter clause on declare target 2022-05-27 12:48:48 +02:00
target-42.c openmp: Implicitly discover declare target for variants of declare variant calls 2020-10-28 10:36:31 +01:00
target-43.c 'libgomp.c/target-43.c': '-latomic' for nvptx offloading 2021-09-06 11:51:13 +02:00
target-44.c Add 'default' to -foffload=; document that flag [PR67300] 2021-06-29 16:00:04 +02:00
target-critical-1.c omp-low.c (lower_omp_critical): Mark critical sections inside target functions as offloadable. 2014-11-28 13:59:49 +00:00
target-has-device-addr-3.c C, C++, Fortran, OpenMP: Add 'has_device_addr' clause to 'target' construct. 2022-02-09 23:47:12 -08:00
target-link-1.c Fix OpenMP offload handling for target-link variables for nvptx (PR81689) 2020-03-24 15:13:56 +01:00
target-print-1.c Add tests for print from offload target. 2019-11-15 10:49:10 +00:00
target-teams-1.c OpenMP: Add strictly nested API call check [PR102972] 2021-10-30 23:45:32 +02:00
task-1.c Fix failures on Solaris with -fno-common default 2019-11-21 16:14:21 +00:00
task-2.c
task-3.c
task-4.c
task-5.c Fix failures on Solaris with -fno-common default 2019-11-21 16:14:21 +00:00
task-6.c openmp: Don't optimize shared to firstprivate on task with depend clause 2020-12-18 21:43:20 +01:00
task-reduction-1.c builtin-types.def (BT_FN_VOID_BOOL, [...]): New. 2018-11-08 18:13:04 +01:00
task-reduction-2.c builtin-types.def (BT_FN_VOID_BOOL, [...]): New. 2018-11-08 18:13:04 +01:00
task-reduction-3.c tree-nested.c (convert_nonlocal_omp_clauses, [...]): Handle OMP_CLAUSE_IN_REDUCTION... 2018-12-02 13:50:50 +01:00
task-reduction-4.c openmp: Fix up taskloop reduction ICE if taskloop has no iterations [PR100471] 2021-05-11 09:07:47 +02:00
teams-1.c OpenMP: Add strictly nested API call check [PR102972] 2021-10-30 23:45:32 +02:00
teams-2.c builtin-types.def (BT_FN_VOID_BOOL, [...]): New. 2018-11-08 18:13:04 +01:00
teams-3.c openmp: Handle reduction clauses on host teams construct [PR96459] 2020-08-05 10:40:10 +02:00
teams-4.c openmp: Honor OpenMP 5.1 num_teams lower bound 2021-11-12 12:41:22 +01:00
teams-5.c libgomp: Add a testcase for omp_get_num_teams inside of target inside of host teams 2021-11-15 08:58:39 +01:00
thread-limit-1.c openmp: Mark deprecated symbols in OpenMP 5.0 2020-11-05 10:32:56 -08:00
thread-limit-2.c OpenMP: Add strictly nested API call check [PR102972] 2021-10-30 23:45:32 +02:00
thread-limit-3.c OpenMP: Add strictly nested API call check [PR102972] 2021-10-30 23:45:32 +02:00
thread-limit-4.c OpenMP: Add strictly nested API call check [PR102972] 2021-10-30 23:45:32 +02:00
thread-limit-5.c OpenMP: Add strictly nested API call check [PR102972] 2021-10-30 23:45:32 +02:00
udr-2.c target.c: New file. 2013-10-11 11:26:50 +02:00
udr-3.c target.c: New file. 2013-10-11 11:26:50 +02:00
uns-outer-4.c Handle double reduction in parloops 2015-07-28 07:54:04 +00:00
usleep.h testsuite/libgomp.c/usleep.h: Use sleep-loop also for GCN 2020-11-18 14:11:27 +01:00
vla-1.c