https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70173
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- See also PR45503 (In reply to Eric Gallager from comment #2) > (In reply to Andrew Pinski from comment #1) > > Most people don't use distclean or build in the source directory. Most > > people use a separate build directory and just wipe out that build > > directory. > > I use a separate build directory, but I also use make distclean, and I've > also noticed the issue described in this bug, I just never got around to > filing it. If gcc is going to provide a distclean target, it should DTRT. Indeed. I also do not understand why the build system does not clearly forbid from building in the source directory since that is clearly not supported.