* c-opts.c (c_common_post_options): Don't call cpp_find_main_file yet.
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Oct 2003 07:25:03 +0000 (07:25 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Oct 2003 07:25:03 +0000 (07:25 +0000)
commite2df3e75379da18409c584c2efb2064c282330de
tree84e0eefb07ad753e3c78543a164d0520082734c3
parent643868343396410b69fabc608598ef263a8f0b64
* c-opts.c (c_common_post_options):  Don't call cpp_find_main_file yet.
(c_common_parse_file):  No longer need to call cpp_read_main_file
when file_index > 0 (as in multi-file or server compiation).
(finish_options):  Change to <built-in> is an LC_ENTER, not LC_RENAME
as this now happens before cpp_push_main_file.
(push_command_line_include):  When done with options, pass LC_LEAVE
instead of LC_RENAME to cpp_change_file and finally cpp_push_main_file.
(fe_file_change):  Handle NULL new_map, and simplify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72015 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-opts.c