On Fri, Aug 19, 2022 at 6:54 PM Tobias Burnus <tob...@codesourcery.com> 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. (Example: See PR.) > > This patch fixes this by storing the file name earlier and process them > during cleanup, > unless they have been taken care of before. (Usual way; as they are printf'ed > to stdout, > I assume the caller takes care of the tmp files.) > > OK for mainline?
OK. > Tobias > > > ----------------- > Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 > München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas > Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht > München, HRB 106955