Re: [PATCH 3/5] testsuite: Ensure ltrans dump files get cleaned up properly [PR116140]

2024-08-15 Thread Richard Sandiford
Alex Coplan writes: > I noticed while working on a test that uses LTO and requests a dump > file, that we are failing to cleanup ltrans dump files in the testsuite. > > E.g. the test I was working on compiles with -flto > -fdump-rtl-loop2_unroll, and we end up with the following file: > > ./gcc/te

[PATCH 3/5] testsuite: Ensure ltrans dump files get cleaned up properly [PR116140]

2024-08-09 Thread Alex Coplan
I noticed while working on a test that uses LTO and requests a dump file, that we are failing to cleanup ltrans dump files in the testsuite. E.g. the test I was working on compiles with -flto -fdump-rtl-loop2_unroll, and we end up with the following file: ./gcc/testsuite/g++/pr116140.ltrans0.ltra