The WPA phase of -fwhopr leaves its asm temporary file behind (which doesn't get used).
Index: toplev.c =================================================================== --- toplev.c (revision 151741) +++ toplev.c (working copy) @@ -2357,6 +2357,8 @@ finalize (void) fatal_error ("error writing to %s: %m", asm_file_name); if (fclose (asm_out_file) != 0) fatal_error ("error closing %s: %m", asm_file_name); + if (flag_wpa) + unlink_if_ordinary (asm_file_name); } statistics_fini (); would fix it. -- Summary: WPA leaves asm temporary file behind Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41379