https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65126
--- Comment #1 from vries at gcc dot gnu.org --- Presumably same thing happens for pr47218.C, which saves temps: ... /* { dg-options "-save-temps" } */ ... And cleans them up: ... // { dg-final { cleanup-saved-temps } ... but also has additional sources: ... /* { dg-additional-sources "pr47218-1.C" } */ ... Of which the temps are not cleaned up: ... pr47218-1.o pr47218-1.ii pr47218-1.s ...