diff options
author | Thomas Schwinge <tschwinge@baylibre.com> | 2024-06-05 14:34:06 +0200 |
---|---|---|
committer | Thomas Schwinge <tschwinge@baylibre.com> | 2024-06-06 13:41:46 +0200 |
commit | 395ac0417a17ba6405873f891f895417d696b603 (patch) | |
tree | a8cb13f2408b65403b8f75fba199bb7b4ea89778 /libgomp/config | |
parent | 2d11de35d378a0763a8956638766182a49272e0b (diff) | |
download | gcc-395ac0417a17ba6405873f891f895417d696b603.zip gcc-395ac0417a17ba6405873f891f895417d696b603.tar.gz gcc-395ac0417a17ba6405873f891f895417d696b603.tar.bz2 |
Clean up after newlib "nvptx: In offloading execution, map '_exit' to 'abort' [GCC PR85463]"
PR target/85463
libgfortran/
* runtime/minimal.c [__nvptx__] (exit): Don't override.
libgomp/
* config/nvptx/error.c (exit): Don't override.
* testsuite/libgomp.oacc-fortran/error_stop-1.f: Update.
* testsuite/libgomp.oacc-fortran/error_stop-2.f: Likewise.
* testsuite/libgomp.oacc-fortran/error_stop-3.f: Likewise.
* testsuite/libgomp.oacc-fortran/stop-1.f: Likewise.
* testsuite/libgomp.oacc-fortran/stop-2.f: Likewise.
* testsuite/libgomp.oacc-fortran/stop-3.f: Likewise.
Diffstat (limited to 'libgomp/config')
-rw-r--r-- | libgomp/config/nvptx/error.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libgomp/config/nvptx/error.c b/libgomp/config/nvptx/error.c index 7e66827..f7a2536 100644 --- a/libgomp/config/nvptx/error.c +++ b/libgomp/config/nvptx/error.c @@ -58,11 +58,4 @@ #endif -/* The 'exit (EXIT_FAILURE);' of an Fortran (only, huh?) OpenMP 'error' - directive with 'severity (fatal)' causes a hang, so 'abort' instead of - 'exit'. */ -#undef exit -#define exit(status) abort () - - #include "../../error.c" |