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 /libgfortran/runtime | |
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 'libgfortran/runtime')
-rw-r--r-- | libgfortran/runtime/minimal.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libgfortran/runtime/minimal.c b/libgfortran/runtime/minimal.c index f13b3a4..619f818 100644 --- a/libgfortran/runtime/minimal.c +++ b/libgfortran/runtime/minimal.c @@ -32,14 +32,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #if __nvptx__ -/* Map "exit" to "abort"; see PR85463 '[nvptx] "exit" in offloaded region - doesn't terminate process'. */ -# undef exit -# define exit(status) do { (void) (status); abort (); } while (0) -#endif - - -#if __nvptx__ /* 'printf' is all we have. */ # undef estr_vprintf # define estr_vprintf vprintf |