[Bug preprocessor/15067] Minor glitch in the source of cpp.
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 22 12:32:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-22 11:23 -------
Confirmed.
Caused by:
* cppinit.c (cpp_read_main_file): Split into two functions:
Distribute _cpp_stack_file call over the two functions.
(cpp_find_main_file): New function.
Don't call _cpp_do_file_change even if working_directory flag set.
(cpp_push_main_file): New function.
* cppfiles.c (_cpp_find_failed): New helper function.
(find_file): Made non-static and renamed to _cpp_find_file.
(_cpp_stack_file): No longer needed. But note the following.
(stack_file): Made non-static and renamed to _cpp_stack_file.
* fix-header.c (cpp_read_main_file): Replace cpp_read_main_file
call with calls to cpp_find_main_file and cpp_push_main_file.
(search_path_head): If there is no current buffer, use main_file.
* cpphash.h: Update function declarations.
* cpplib.h: Update function declarations.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |bothner at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |build
Last reconfirmed|0000-00-00 00:00:00 |2004-04-22 11:23:26
date| |
Target Milestone|--- |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15067
More information about the Gcc-bugs
mailing list