c-opts.c (push_command_line_include): Don't free deferred_opts, we'll need it.
authorGeoffrey Keating <geoffk@apple.com>
Tue, 15 Jul 2003 05:36:25 +0000 (05:36 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Tue, 15 Jul 2003 05:36:25 +0000 (05:36 +0000)
* c-opts.c (push_command_line_include): Don't free deferred_opts,
we'll need it.
(finish_options): Reset init_cursor.

From-SVN: r69381

gcc/ChangeLog
gcc/c-opts.c

index 5fc6fee..c640b7b 100644 (file)
@@ -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
index bf60504..5bc88f9 100644 (file)
@@ -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.  */