Hi Nicolas, I have applied your patch on top of revision r261130 on x86_64-apple-darwin17 (SSD with APFS file system).
The only remaining failure on my own tests is for the test (pr35840) write(10,*, asynchronous="Y"//"E"//trim("S ")) end giving at run time At line 1 of file pr35840.f90 (unit = 10, file = 'fort.10') Fortran runtime error: ASYNCHRONOUS transfer without ASYHCRONOUS='YES' in OPEN I also see two regressions FAIL: gfortran.dg/f2003_inquire_1.f03 -O1 execution test only with -m32 and -O1 (STOP 5), and FAIL: gfortran.dg/f2003_io_1.f03 -O* with both -m32 and -m64 (STOP 1). The is also typos for the added tests s/libgfomp/libgomp/ Why do the tests start at asynchronous_6.f90? "Treat asynchronous variables the same as volatile, for now." could probably simplified as "Treat asynchronous variables as volatile, for now." I also wonder if + wrap_scalar_transfer (dtp, BT_INTEGER, p, kind, kind, 1); is correct without a cast to size_t for the last two arguments (and for the last argument in other instances). Note that I am C challenged, so forgive the question if it is stupid. Thanks for the nice work. Dominique