On Thu, Apr 19, 2018 at 11:06:18AM +0200, Thomas Schwinge wrote: > Hi! > > On Wed, 4 Apr 2018 11:30:34 +0200, Thomas König <t...@tkoenig.net> wrote: > > the recent patch to make the gfortran and libgomp testsuites more > > standard conforming, by replacing CALL ABORT() with STOP N, led > > to numerous testsuite failures on nvptx because stop_numeric > > was not implemented in minimal.c. > > > > I have committed the patch below in r259072 as obvious after Tom > > de Vries had confirmed that it solves the problem. > > ... for some meaning of "solves the problem"; see below. ;-) Which you > couldn't know, of course. (So, definitely thanks anyway, for promptly > addressing the issue raised!)
My preference would be just to revert the call abort to stop n changes in target regions. Mapping exit to abort is weird, and making exit terminate whole process even when called from offloaded regions might be too expensive. Jakub