aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-01-07 15:17:07 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-01-07 15:17:07 +0000
commit963024335a5ad4d219d0feedc4e08149822438ba (patch)
treec1c9be83692efba34fd6a681a9cf6a699a78a8c9 /gcc/cp
parentb34878a37be4bd942b0460be0e5f9b3c8cbe0b17 (diff)
downloadgcc-963024335a5ad4d219d0feedc4e08149822438ba.zip
gcc-963024335a5ad4d219d0feedc4e08149822438ba.tar.gz
gcc-963024335a5ad4d219d0feedc4e08149822438ba.tar.bz2
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
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl2.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index d7a7a3b..c0ca59d 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * cp/decl2.c (cxx_post_options): Call cpp_post_options.
+
2001-01-05 Nathan Sidwell <nathan@codesourcery.com>
* parse.y (template_datadef): Check for error_mark_node.
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index 4daf590..bac8a6d 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -551,6 +551,7 @@ struct lang_hooks lang_hooks = {cxx_post_options};
static void
cxx_post_options ()
{
+ cpp_post_options (parse_in);
}
/* Compare two option strings, pointed two by P1 and P2, for use with