Re: PING – Re: [Patch] collect-utils.c, lto-wrapper + mkoffload: Improve -save-temps filename

2020-10-20 Thread Tobias Burnus
On 10/20/20 11:27 AM, Richard Biener wrote: OK. Missed two things – a copy'n'paste issue using the wrong variable and to update a testcase, adding the newly added dump files there. Committed as obvious in r11-4132-g6267bb7a11f53381d77b2c0a6193fcb9115d2b30 Tobias On 10/13/20 9:37 PM, Tobias

Re: PING – Re: [Patch] collect-utils.c, lto-wrapper + mkoffload: Improve -save-temps filename

2020-10-20 Thread Richard Biener
On Mon, 19 Oct 2020, Tobias Burnus wrote: > PING. > > Attached patch has a minor change: the renamed suffixes for nvptx as > suggested by Tom > (and for considency, 'ltrans.args' ? 'ltrans_args'). > > OK? OK. Thanks, Richard. > Tobias > > On 10/13/20 9:37 PM, Tobias Burnus wrote: > > This pa

PING – Re: [Patch] collect-utils.c, lto-wrapper + mkoffload: Improve -save-temps filename

2020-10-19 Thread Tobias Burnus
PING. Attached patch has a minor change: the renamed suffixes for nvptx as suggested by Tom (and for considency, 'ltrans.args' → 'ltrans_args'). OK? Tobias On 10/13/20 9:37 PM, Tobias Burnus wrote: This patch avoids putting some [...] files to /tmp/cc* when -save-temps has been specified. Fo

Re: [Patch] collect-utils.c, lto-wrapper + mkoffload: Improve -save-temps filename

2020-10-13 Thread Tom de Vries
On 10/13/20 9:37 PM, Tobias Burnus wrote: > This patch avoids putting some more files to /tmp/cc* when > -save-temps has been specified. > Very nice. > For my testcase, it now generates: > a.lto_wrapper_args > a.offload_args > a.xnvptx-none.args > a.xnvptx-none.gcc_args > a.xamdgcn-amdhsa.gcc_a

[Patch] collect-utils.c, lto-wrapper + mkoffload: Improve -save-temps filename

2020-10-13 Thread Tobias Burnus
This patch avoids putting some more files to /tmp/cc* when -save-temps has been specified. For my testcase, it now generates: a.lto_wrapper_args a.offload_args a.xnvptx-none.args a.xnvptx-none.gcc_args a.xamdgcn-amdhsa.gcc_args a.xamdgcn-amdhsa.gccnative_args a.xamdgcn-amdhsa.ld_args This patch