This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor/6521: -MG creates dependency with wrong path
Robert Spier wrote:-
> >> This is intended behaviour (but undocumented I think); whether it is
> >> desirable or not is a different question.
> >>
> >> IMO this is not worth fixing; and we should just document the behaviour
> >> for <> headers. What do you think, Zack?
> >
> >Agreed.
>
> Why is this the intended behavior? It doesn't make much sense to me.
It's intended because it's what the comment in the code says and does.
I'd welcome a patch to do something more sensible. You can wait for me
to look at it, but it's pretty near the bottom of my to-do list.
Neil.