This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bug report: cpp dependencies


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]