gcc/libgomp/config
Thomas Schwinge a5416bf369 Make the OpenMP 'error' directive work for nvptx offloading
... and add a minimum amount of offloading testing.

(Leaving aside that 'fwrite' to 'stderr' probably wouldn't work anyway) the
'fwrite' calls in 'libgomp/error.c:GOMP_warning', 'libgomp/error.c:GOMP_error'
drag in 'isatty', which isn't provided by my nvptx newlib build at present, so
we get, for example:

    [...]
    FAIL: libgomp.c/../libgomp.c-c++-common/declare_target-1.c (test for excess errors)
    Excess errors:
    unresolved symbol isatty
    mkoffload: fatal error: [...]/build-gcc/./gcc/x86_64-pc-linux-gnu-accel-nvptx-none-gcc returned 1 exit status
    [...]

..., and many more.

Fix up for recent commit 0d973c0a0d
"openmp: Implement the error directive".

	libgomp/
	* config/nvptx/error.c (fwrite, exit): Override, too.
	* testsuite/libgomp.c-c++-common/error-1.c: Add a minimum amount
	of offloading testing.
	* testsuite/libgomp.fortran/error-1.f90: Likewise.
2021-08-22 11:08:26 +02:00
..
accel libgomp: Don't access gomp_sem_t as int using atomics unconditionally 2021-01-18 07:18:46 +01:00
bsd Update copyright years. 2021-01-04 10:26:59 +01:00
darwin Update copyright years. 2021-01-04 10:26:59 +01:00
gcn openmp: Implement omp_get_device_num routine 2021-08-05 23:29:03 +08:00
hpux Update copyright years. 2021-01-04 10:26:59 +01:00
linux libgomp: Don't include limits.h instead of hidden visibility block 2021-07-13 09:50:49 +02:00
mingw32 Update copyright years. 2021-01-04 10:26:59 +01:00
nvptx Make the OpenMP 'error' directive work for nvptx offloading 2021-08-22 11:08:26 +02:00
posix libgomp: Don't access gomp_sem_t as int using atomics unconditionally 2021-01-18 07:18:46 +01:00
rtems RTEMS: Fix libgomp build 2021-01-18 07:24:56 +01:00
t-aix aix: remove libgomp and libatomic archives before creating FAT archives 2020-10-11 17:30:24 -04:00