diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/c-opts.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5fc6fee..c640b7b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-07-14 Geoffrey Keating <geoffk@apple.com> + + * 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 <kazu@cs.umass.edu> * expr.c (expand_assignment): Remove an unused argument diff --git a/gcc/c-opts.c b/gcc/c-opts.c index bf60504..5bc88f9 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 <command line>. */ cpp_change_file (parse_in, LC_RENAME, main_input_filename); /* -Wunused-macros should only warn about macros defined hereafter. */ |