https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101546

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Host|                            |x86_64-w64-mingw32

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
We seem to have a mix of DOS and UNIX path separators, not sure if this messes
up logic somewhere.  But we're supposed to prefix the temporary filename with
the
-dumpbase argument but I only see -dumpdir.

So this looks somehow host specific and since I lack access to a mingw host I
can't check myself.  Leaving to people who have such access - or, since you
already produced a patch maybe you can trace through the driver invocation
to see why it fails to add a -dumpbase argument to the cc1.exe invocation.
-dumpbase should be derived from the input filename.  See the largish comment
in process_command before the -save-temps processing.

Reply via email to