gcc/libgomp/testsuite
Jakub Jelinek 46644ec99c openmp: Fix up OpenMP expansion of non-rectangular loops [PR108459]
expand_omp_for_init_counts was using for the case where collapse(2)
inner loop has init expression dependent on non-constant multiple of
the outer iterator and the condition upper bound expression doesn't
depend on the outer iterator fold_unary (NEGATE_EXPR, ...).  This
will just return NULL if it can't be folded, we need fold_build1
instead.

2023-01-19  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/108459
	* omp-expand.cc (expand_omp_for_init_counts): Use fold_build1 rather
	than fold_unary for NEGATE_EXPR.

	* testsuite/libgomp.c/pr108459.c: New test.
2023-01-19 21:00:08 +01:00
..
config Update copyright years. 2023-01-16 11:52:17 +01:00
lib OpenMP: Generate SIMD clones for functions with "declare target" 2022-11-25 18:13:22 +00:00
libgomp.c openmp: Fix up OpenMP expansion of non-rectangular loops [PR108459] 2023-01-19 21:00:08 +01:00
libgomp.c++ openmp: Fix up finish_omp_target_clauses [PR108286] 2023-01-05 11:57:30 +01:00
libgomp.c-c++-common OpenMP: omp_get_max_teams, omp_set_num_teams, and omp_{gs}et_teams_thread_limit on offload devices 2022-12-06 06:03:50 -08:00
libgomp.fortran Remove libgomp/testsuite/libgomp.fortran/allocate-4.f90 [PR108056] 2022-12-16 08:56:03 +01:00
libgomp.graphite Update copyright years. 2023-01-16 11:52:17 +01:00
libgomp.oacc-c [testsuite] Unset 'offload_target' after use 2020-07-24 14:00:43 +02:00
libgomp.oacc-c++ OpenMP/OpenACC struct sibling list gimplification extension and rework 2022-09-14 13:59:55 +00:00
libgomp.oacc-c-c++-common Restore 'libgomp.oacc-c-c++-common/nvptx-sese-1.c' SESE regions checking [PR107195, PR107344] 2022-10-21 11:27:27 +02:00
libgomp.oacc-fortran Support OpenACC 'declare create' with Fortran allocatable arrays, part II [PR106643, PR96668] 2022-11-02 20:51:41 +01:00
libgomp-site-extra.exp.in libgomp/test: Remove a build sysroot fix regression 2020-04-06 23:32:45 +01:00
libgomp-test-support.exp.in libgomp nvptx plugin: Remove '--with-cuda-driver=[...]' etc. configuration option 2022-06-10 17:08:57 +02:00
Makefile.am libgomp/test: Remove a build sysroot fix regression 2020-04-06 23:32:45 +01:00
Makefile.in libgomp nvptx plugin: Remove '--with-cuda-driver=[...]' etc. configuration option 2022-06-10 17:08:57 +02:00