From: Geoffrey Keating Date: Tue, 15 Jul 2003 05:36:25 +0000 (+0000) Subject: c-opts.c (push_command_line_include): Don't free deferred_opts, we'll need it. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6ebd07b9d7e47b5d6fd7ead677f7c90386f8ecf;p=gcc.git c-opts.c (push_command_line_include): Don't free deferred_opts, we'll need it. * c-opts.c (push_command_line_include): Don't free deferred_opts, we'll need it. (finish_options): Reset init_cursor. From-SVN: r69381 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5fc6fee46a1..c640b7badca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-07-14 Geoffrey Keating + + * c-opts.c (push_command_line_include): Don't free deferred_opts, + we'll need it. + (finish_options): Reset init_cursor. + 2003-07-15 Kazu Hirata * expr.c (expand_assignment): Remove an unused argument diff --git a/gcc/c-opts.c b/gcc/c-opts.c index bf60504bab7..5bc88f92d28 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -1418,6 +1418,7 @@ finish_options (void) } } + include_cursor = 0; push_command_line_include (); } @@ -1438,7 +1439,6 @@ push_command_line_include (void) if (include_cursor == deferred_count) { - free (deferred_opts); /* Restore the line map from . */ cpp_change_file (parse_in, LC_RENAME, main_input_filename); /* -Wunused-macros should only warn about macros defined hereafter. */