This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc c-lang.c c-tree.h c-opts.c ChangeLog
- From: bothner at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 15 Aug 2003 21:47:23 -0000
- Subject: gcc/gcc c-lang.c c-tree.h c-opts.c ChangeLog
CVSROOT: /cvs/gcc
Module name: gcc
Branch: compile-server-branch
Changes by: bothner@gcc.gnu.org 2003-08-15 21:47:23
Modified files:
gcc : c-lang.c c-tree.h c-opts.c ChangeLog
Log message:
* c-lang.c (finish_file): Remove. Combine with ...
(c_write_globals): New function.
(LANG_HOOKS_WRITE_GLOBALS): New macro, defined as c_write_globals.
(LANG_HOOKS_INIT_ONCE): New definition, as init_c_objc_common_once.
(LANG_HOOKS_INIT): Update to renamed init_c_objc_common_eachsrc.
* c-tree.h: Add new or rename function declarations.
* c-opts.c (this_input_filename): Remove variable.
(c_common_post_options): Don't canonicalie input filename here.
Move some stuff to init_c_common_once.
If only preprocessing, do it now (kludge).
(init_c_common_once): New function.
(c_common_init): Renamed to init_c_common_eachsrc.
(c_common_parse_file): Now parses just a single module,
rather than loop over modules.
(finish_options): Takes no parameters. Move calls.
Now called before cpp_read_main_file, so first cpp_child_file is
LC_ENTER rather than LC_RENAME. Also do an LC_LEAVE.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-lang.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.110.2.1&r2=1.110.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-tree.h.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.124.2.1&r2=1.124.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-opts.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.79.2.2&r2=1.79.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=2.618.2.8&r2=2.618.2.9