https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125583
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |16.2
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Don't do that then. It's documented to not be supported:
First, we @strong{highly} recommend that GCC be built into a
separate directory from the sources which does @strong{not} reside
within the source tree. This is how we generally build GCC; building
where @var{objdir} is a subdirectory of @var{srcdir} should work as well;
building where @var{objdir} == @var{srcdir} is unsupported.