[Bug target/91130] [9/10 Regression] -MF clashes with -flto on aarch64
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 16 07:34:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91130
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |schwab at gcc dot gnu.org
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Ok, so I can confirm it's related to D front-end, where the following patch can
paper over that:
diff --git a/gcc/d/lang-specs.h b/gcc/d/lang-specs.h
index 098f0f98b29..d3f41d23c5a 100644
--- a/gcc/d/lang-specs.h
+++ b/gcc/d/lang-specs.h
@@ -23,7 +23,7 @@ along with GCC; see the file COPYING3. If not see
{".di", "@d", 0, 1, 0 },
{"@d",
"%{!E:d21 %i %(cc1_options) %I %{nostdinc*} %{i*} %{I*} %{J*} \
- %{H} %{Hd*} %{Hf*} %{MD:-MD %b.deps} %{MMD:-MMD %b.deps} \
+ %{H} %{Hd*} %{Hf*} \
%{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*} \
%{X:-Xf %b.json} %{Xf*} \
%{v} %{!fsyntax-only:%(invoke_as)}}", 0, 1, 0 },
So the general issue is that .d files are clasing between D source files and
dependecy files.
Would it be possible for the future to start using the .deps extension,
similarly what D language does?
More information about the Gcc-bugs
mailing list