]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cppinit.c
c-lang.c (c_post_options): Call cpp_post_options.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Sun, 7 Jan 2001 15:17:07 +0000 (15:17 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sun, 7 Jan 2001 15:17:07 +0000 (15:17 +0000)
commit963024335a5ad4d219d0feedc4e08149822438ba
treec1c9be83692efba34fd6a681a9cf6a699a78a8c9
parentb34878a37be4bd942b0460be0e5f9b3c8cbe0b17
c-lang.c (c_post_options): Call cpp_post_options.

        * c-lang.c (c_post_options): Call cpp_post_options.
        * cppmain.c (main): Similarly.
        * fix-header.c (read_scan_file): Similarly.
        * cp/decl2.c (cxx_post_options): Similarly.
        * objc/objc-act.c (objc_post_options): Similarly.
        * cppinit.c (cpp_start_read): Move option consistency checks
        to cpp_post_options.  Don't call init_dependency_output.
        If needed, add default target and main file dependency.
        (OPT_MD, OPT_MMD): Remove.
        (OPT_MF): New.
        (cpp_handle_option): Update for OPT_* changes.
        (cpp_post_options): New.
        (init_dependency_output): Command line -MF overrides environment
        variables.  Don't set default target etc.  Suppress output
        if dependencies are going to stdout.
        (print_help): Update.
        * cpplib.h (cpp_post_options): New.
        * gcc.c (cpp_options): Update for -MD, -MMD, -MF.

From-SVN: r38777
gcc/ChangeLog
gcc/c-lang.c
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cppinit.c
gcc/cpplib.h
gcc/cppmain.c
gcc/fix-header.c
gcc/gcc.c
gcc/objc/objc-act.c