https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104677
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aoliva at gcc dot gnu.org Version|unknown |11.2.0 Keywords| |documentation --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- It's working as intended, maybe the documentation can be clarified. See https://gcc.gnu.org/gcc-11/changes.html in the Caveats section we have 'Naming and location of auxiliary and dump output files changed. If you compile multiple input files in a single command, if you enable Link Time Optimization, or if you use -dumpbase, -dumpdir, -save-temps=*, and you expect any file other than the primary output file(s) to be created as a side effect, watch out for improvements and a few surprises. See the patch, particularly its textual description, for more details about the changes.'