Thomas Schwinge 152052cba3 openmp: ensure variables in offload table are streamed out (PRs 94848 + 95551): OpenACC test case
The test case 'libgomp.fortran/target-var.f90' added in
commit 1c0fdaf79e
"openmp: ensure variables in offload table are streamed out (PRs 94848 + 95551)"
alluded to an OpenACC variant in addition to OpenMP 'target', but didn't
actually add it -- do that now.  Via reverting the applicable compiler-side
code changes, I've re-confirmed that the original problem also applied to
OpenACC.

For good measure, also fix up the OpenACC: the array assignment/constructor
before the loop and 'if'/'any' check after the loop execute in gang-redundant
mode, which -- in presence of multiple gangs executing, as implied by the
OpenACC 'loop' construct with 'gang' clause -- is dubious, even if probably
benign in this specific case here, I suppose.  Use OpenACC 'kernels' instead.

	PR middle-end/95551
	libgomp/
	* testsuite/libgomp.fortran/target-var.f90: Rename to...
	* testsuite/libgomp.fortran/pr95551-1.f90: ... this, and fix up the
	OpenACC.
	* testsuite/libgomp.oacc-fortran/pr95551-1.f90: New.
2026-04-17 15:23:07 +02:00
2026-04-15 08:16:45 +00:00
2026-04-15 08:16:45 +00:00
2026-04-08 00:16:31 +00:00
2026-03-22 00:16:21 +00:00
2026-04-03 00:16:27 +00:00
2026-04-08 00:16:31 +00:00
2026-03-06 00:16:27 +00:00
2026-04-15 08:16:45 +00:00
2026-04-02 00:16:31 +00:00

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.
Description
No description provided
Readme 4.2 GiB
Languages
C++ 30.7%
C 30.2%
Ada 14.4%
D 6.1%
Go 5.7%
Other 12.4%