https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91130
--- Comment #37 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #36)
> (In reply to Jakub Jelinek from comment #35)
> > Yeah, plus removing " according to LANG_MASK" from
> > get_options_from_collect_gcc_options function comment. But Martin claims it
> > doesn't work.
>
> Yes, I needed both CL_DRIVER | CL_LANG_ALL to have it working.
I can't reproduce that though, works just fine for me with just CL_DRIVER
(richi's patch), verified it processes the -MF argument properly.
./xgcc -B ./ -c -flto pr91130.c
./xgcc -B ./ -o pr91130{,.o} -flto -MMD -MF deps
that previously failed now works.