This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bug report: cpp dependencies
- To: Marc-Peter dot Schambach at gmx dot net
- Subject: Re: bug report: cpp dependencies
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Sat, 11 Mar 2000 16:54:57 +0100
- CC: egcs-bugs at egcs dot cygnus dot com
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <38C8F716.6DFABBE8@kst.siemens.de>
Marc-Peter.Schambach wrote:
> gcc(cpp) produces a wrong *.d dependency file when compiling
> preprocessed fortran *.F files:
>
> The dependcy looks like this:
> test.F.o: test.F test.h
>
> instead of:
> test.o: test.F test.h
Yep, this is wrong. It is still wrong in gcc/g77-2.95.2, which is the
latest release of the compiler(s).
However, it has been repaired in the upcoming (well ...) version 2.96 -
the current snapshot gives the right content of test.d:
$ cat test.d
test.o: test.F test.h
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
GNU Fortran: http://gcc.gnu.org/onlinedocs/g77_news.html