aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-opts.c
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2003-07-15 05:36:25 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2003-07-15 05:36:25 +0000
commite6ebd07b9d7e47b5d6fd7ead677f7c90386f8ecf (patch)
tree092bbd76f1b7df463263b0f9ad375df6c727fe4b /gcc/c-opts.c
parent683b1112af90e02494b3eceacb8af3f7c7352efd (diff)
downloadgcc-e6ebd07b9d7e47b5d6fd7ead677f7c90386f8ecf.zip
gcc-e6ebd07b9d7e47b5d6fd7ead677f7c90386f8ecf.tar.gz
gcc-e6ebd07b9d7e47b5d6fd7ead677f7c90386f8ecf.tar.bz2
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
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r--gcc/c-opts.c2
1 files changed, 1 insertions, 1 deletions
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. */