PR85463 '[nvptx] "exit" in offloaded region doesn't terminate process'
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 19 Apr 2018 08:53:38 +0000 (10:53 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Thu, 19 Apr 2018 08:53:38 +0000 (10:53 +0200)
commit6e0d40b6f82b3573b7345e0400000dbd612541b7
tree24ddf33011e25e1eeddf1b584fb5a990e27ed36e
parent1781a04fcc32c710b4bcd9080d8e1d7462ca3226
PR85463 '[nvptx] "exit" in offloaded region doesn't terminate process'

libgomp/
PR libfortran/85166
* testsuite/libgomp.oacc-fortran/abort-1.f90: Switch back to "call
abort".
* testsuite/libgomp.oacc-fortran/abort-2.f90: Likewise.

libgfortran/
PR libfortran/85166
PR libgomp/85463
* runtime/minimal.c (stop_numeric): Reimplement.
(stop_string, error_stop_string, error_stop_numeric): New
functions.
libgomp/
PR libgomp/85463
* testsuite/libgomp.oacc-fortran/error_stop-1.f: New file.
* 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.

From-SVN: r259491
libgfortran/ChangeLog
libgfortran/runtime/minimal.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-fortran/abort-1.f90
libgomp/testsuite/libgomp.oacc-fortran/abort-2.f90
libgomp/testsuite/libgomp.oacc-fortran/error_stop-1.f [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/error_stop-2.f [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/error_stop-3.f [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/stop-1.f [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/stop-2.f [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/stop-3.f [new file with mode: 0644]