Re: [Patch] lto-wrapper.cc: Delete offload_names temp files in case of error [PR106686]

2022-08-22 Thread Richard Biener via Gcc-patches
On Fri, Aug 19, 2022 at 6:54 PM Tobias Burnus wrote: > > I saw that files such as /tmp/ccxFKYeS.target.o kept accumulating. Not a high > number, > but still several. > > I turned out that when compiling an offloading program successfully, they > were removed. > But when it failed, those remained

[Patch] lto-wrapper.cc: Delete offload_names temp files in case of error [PR106686]

2022-08-19 Thread Tobias Burnus
I saw that files such as /tmp/ccxFKYeS.target.o kept accumulating. Not a high number, but still several. I turned out that when compiling an offloading program successfully, they were removed. But when it failed, those remained. (Example: See PR.) This patch fixes this by storing the file name