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]
Other format: [Raw text]

[Bug fortran/43954] gfortran-4.4 does not support -Wp, -MD for *.F (4.3 -> 4.4 regression, needed for auto-dependencies)



------- Comment #5 from kargl at gcc dot gnu dot org  2010-05-04 16:46 -------
(In reply to comment #4)
> On Mon, May 03, 2010 at 07:45:20PM -0000, dfranke at gcc dot gnu dot org wrote:
> > (In reply to comment #2)
> > On Monday 03 May 2010 21:23:26 you wrote:
> > > And when I say "it used to work" I don't mean generating dependencies for
> > > f90/f95 sources (PR31588 mentions e.g. USE), but only generating
> > > dependencies from plain preprocessor.
> > 
> > What you ask for is "just" a subset of PR31588. If that gets fixed, your
> > request will be fixed as well.
> > 
> > Feel free to re-open if you believe that it would be worth to fix the subset
> > first.
> 
> Yes, it's a subset of PR31588. 
> 
> But as you wrote PR31588 is going to be (maybe) fixed for 4.6, while I
> believe regressions in general and this one in particular should be
> better handled with higher priority and fixes should go to maintanance
> branches.

What you apparently fail to understand is that gfortran is written
and maintained by a small group of volunteers.  If none of these
volunteers use this feature and if none of volunteers have the 
time to work on it, it won't get fixed anytime soon.  So, if this
is so dear to your heart, pull up your sleeves and start trying to
fix the problem.

In the meantime, just call cpp directly.

troutmask:sgk[214] ~/work/4x/bin/cpp -Wp,-MD,test.d test.F | sed s/#/\!/
! 1 "test.F"
! 1 "<built-in>"
! 1 "<command-line>"
! 1 "test.F"
! 1 "test.h" 1
! 2 "test.F" 2

          program test
          print *,'Hello World!'
          print *,'Hello up there qqq!'
          end
troutmask:sgk[215] cat test.d
test.o: test.F test.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43954


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