This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31588] gfortran should be able to output Makefile dependencies with -M* options
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jun 2007 17:39:48 -0000
- Subject: [Bug fortran/31588] gfortran should be able to output Makefile dependencies with -M* options
- References: <bug-31588-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-06-04 17:39 -------
(In reply to comment #4)
> fx, are you still working on this?
Not actively. It's probably not so hard, though: read the file, like we do with
-fsyntax-only mode, and parse #file headers.
> yet another reason why "-M" as an alias for -J should be dropped and instead
> proper -M dependency handling should be added is this:
>
> $ echo end > foo.f90 && gfortran -o main foo.f90 -v -M
> Segmentation fault
That's another one. File a new PR (it's probably a simple check that's missing
in gfc_handle_module_path_options()).
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|fxcoudert at gcc dot gnu dot|unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31588