On 6/19/20 11:53 AM, Alexandre Oliva wrote: > Here's an incremental patch, on top of the one you kindly tested the > other day (thanks!), that attempts to introduce per-offload-target dump > name variation. > > Could you possibly give it a spin with the offloading targets you've > got? Done; nvptx compiled but for AMDGCN I got a compile error: in one function 'argv_obstack' was lacking a 'cc_' prefix ('cc_argv_obstack'), see attached patch (vs. mainline, not vs. either of your patches). And there is an (unfixed) warning: config/gcn/mkoffload.c:535:9: warning: unused variable 'dumpbase' I additionally did run the test case manually → files.log for the produced files. Unfortunately, running the testsuite fails now with a tcl error: ERROR: libgomp.oacc-c/../libgomp.oacc-c-c++-common/nvptx-merged-loop.c -DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0 -foffload=nvptx-none -O2 : error executing dg-final: unknown or ambiguous subcommand "set": must be args, body, class, cmdcount, commands, complete, coroutine, default, errorstack, exists, frame, functions, globals, hostname, level, library, loaded, locals, nameofexecutable, object, patchlevel, procs, script, sharedlibextension, tclversion, or vars Thanks, Tobias ----------------- Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter