https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65582
--- Comment #3 from Rainer Emrich <rai...@emrich-ebersheim.de> --- (In reply to Richard Biener from comment #2) > Huh, can you reproduce that with an installed compiler? It seems to simply > build a single source file with -flto. Maybe it's some issue with dir > separators > in lto-wrapper or the linker plugin? Does it reproduce with > -f[no-]linker-plugin > or without -flto-partition=none? I guess it's related to PR65582. So we first have to sort out the mingw-w64 issue.