summaryrefslogtreecommitdiff
path: root/gcc/treelang
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-12 22:44:30 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-12 22:44:30 +0000
commit611913766fa457bd9b0e3aa15bd5ef5ca244a5c1 (patch)
tree964d0b5f695c2048f02200e7dfda82d8e3cbbaae /gcc/treelang
parentab812e961d9c56622326ac2ce550758463fc4edc (diff)
downloadgcc-611913766fa457bd9b0e3aa15bd5ef5ca244a5c1.tar.gz
* c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
handle_deferred_opts, sanitize_cpp_opts, defer_opt, struct deferred_opt): New. (COMMAND_LINE_OPTIONS): Add -M*. (missing_arg): Update. (c_common_decode_option): Handle -M*. (c_common_post_options): Handle -M*. Use sanitize_cpp_opts; don't call cpp_post_options. (c_common_finish, check_deps_environment_vars): Update. * cppfiles.c (stack_include_file, handle_missing_header): Update. * cpphash.h (CPP_PRINT_DEPS): Remove. * cppinit.c: Don't include version.h. (cpp_create_reader): Don't call deps_init. Initialize warn_long_long. (cpp_read_main_file): Init deps if necessary. (cpp_destroy): Conditionally free deps. (cpp_finish): Update. (no_tgt): Remove. (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*. (cpp_post_options): Rename post_options. * cpplib.h (struct cpp_options): Remove some dependency options; move others to a new structure. (cpp_post_options): Remove. (cpp_finish): Comment. * fix-header.c (read_scan_file): Don't call cpp_post_options. treelang: * treelang.c: Remove cpp_post_options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56239 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/treelang')
-rw-r--r--gcc/treelang/ChangeLog4
-rw-r--r--gcc/treelang/treetree.c8
2 files changed, 4 insertions, 8 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog
index 655cc7575cc..ab7d5804e10 100644
--- a/gcc/treelang/ChangeLog
+++ b/gcc/treelang/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-13 Neil Booth <neil@daikokuya.co.uk>
+
+ * treelang.c: Remove cpp_post_options.
+
2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
* treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
diff --git a/gcc/treelang/treetree.c b/gcc/treelang/treetree.c
index 5c829560048..573c273481b 100644
--- a/gcc/treelang/treetree.c
+++ b/gcc/treelang/treetree.c
@@ -955,14 +955,6 @@ cpp_create_reader (enum c_lang lang ATTRIBUTE_UNUSED)
/* Should not be called for treelang. */
void
-cpp_post_options (cpp_reader *pfile ATTRIBUTE_UNUSED)
-{
- abort ();
-}
-
-/* Should not be called for treelang. */
-
-void
cpp_preprocess_file (cpp_reader *pfile ATTRIBUTE_UNUSED)
{
abort ();