public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/31588] gfortran should be able to output Makefile dependencies with -M* options
Date: Sun, 08 Aug 2010 01:59:00 -0000	[thread overview]
Message-ID: <20100808015934.25894.qmail@sourceware.org> (raw)
In-Reply-To: <bug-31588-10259@http.gcc.gnu.org/bugzilla/>



------- Comment #18 from jvdelisle at gcc dot gnu dot org  2010-08-08 01:59 -------
Subject: Bug 31588

Author: jvdelisle
Date: Sun Aug  8 01:59:15 2010
New Revision: 162990

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162990
Log:
2010-08-07  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/31588
        PR fortran/43954
        Backport from mainline:
        * gfortranspec.c (lang_specific_driver): Removed deprecation
        warning for -M.
        * lang.opt: Add options -M, -MM, -MD, -MMD, -MF, -MG, -MP, -MT, -MQ.
        * lang-specs.h (CPP_FORWARD_OPTIONS): Add -M* options.
        * cpp.h (gfc_cpp_makedep): New.
        (gfc_cpp_add_dep): New.
        (gfc_cpp_add_target): New.
        * cpp.c (gfc_cpp_option): Add deps* members.
        (gfc_cpp_makedep): New.
        (gfc_cpp_add_dep): New.
        (gfc_cpp_add_target): New.
        (gfc_cpp_init_options): Initialize new options.
        (gfc_cpp_handle_option): Handle new options.
        (gfc_cpp_post_options): Map new options to libcpp-options.
        (gfc_cpp_init): Handle deferred -MQ and -MT options.
        (gfc_cpp_done): If requested, write dependencies to file.
        * module.c (gfc_dump_module): Add a module filename as target.
        * scanner.c (open_included_file): New parameter system; add the
        included file as dependency.
        (gfc_open_included_file): Add the included file as dependency.
        (gfc_open_intrinsic_module): Likewise.
        * invoke.texi: Removed deprecation warning for -M.
        * gfortran.texi: Removed Makefile-dependencies project.

Modified:
    branches/gcc-4_4-branch/gcc/fortran/ChangeLog
    branches/gcc-4_4-branch/gcc/fortran/cpp.c
    branches/gcc-4_4-branch/gcc/fortran/cpp.h
    branches/gcc-4_4-branch/gcc/fortran/gfortran.texi
    branches/gcc-4_4-branch/gcc/fortran/gfortranspec.c
    branches/gcc-4_4-branch/gcc/fortran/invoke.texi
    branches/gcc-4_4-branch/gcc/fortran/lang-specs.h
    branches/gcc-4_4-branch/gcc/fortran/lang.opt
    branches/gcc-4_4-branch/gcc/fortran/module.c
    branches/gcc-4_4-branch/gcc/fortran/scanner.c


-- 


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


      parent reply	other threads:[~2010-08-08  1:59 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-16  9:21 [Bug fortran/31588] New: " fxcoudert at gcc dot gnu dot org
2007-04-16  9:22 ` [Bug fortran/31588] " fxcoudert at gcc dot gnu dot org
2007-04-16  9:22 ` fxcoudert at gcc dot gnu dot org
2007-04-16 10:02 ` dfranke at gcc dot gnu dot org
2007-04-16 10:06 ` fxcoudert at gcc dot gnu dot org
2007-04-16 14:28 ` burnus at gcc dot gnu dot org
2007-06-04 17:20 ` aldot at gcc dot gnu dot org
2007-06-04 17:40 ` fxcoudert at gcc dot gnu dot org
2007-06-04 20:50 ` rep dot dot dot nop at gmail dot com
2007-10-06 21:36 ` tkoenig at gcc dot gnu dot org
2008-01-30 22:57 ` dfranke at gcc dot gnu dot org
2008-01-31  1:47 ` fxcoudert at gcc dot gnu dot org
2008-03-26  3:33 ` pinskia at gcc dot gnu dot org
2008-03-26  3:36 ` pinskia at gcc dot gnu dot org
2008-05-25 22:56 ` dfranke at gcc dot gnu dot org
2010-05-03 18:10 ` dfranke at gcc dot gnu dot org
2010-06-12 21:06 ` dfranke at gcc dot gnu dot org
2010-06-12 21:46 ` dfranke at gcc dot gnu dot org
2010-06-13 16:05 ` dfranke at gcc dot gnu dot org
2010-06-13 16:07 ` dfranke at gcc dot gnu dot org
2010-08-07 16:52 ` jvdelisle at gcc dot gnu dot org
2010-08-08  1:59 ` jvdelisle at gcc dot gnu dot org [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100808015934.25894.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).