This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc c-objc-common.c c-opts.c ChangeLog
- From: bothner at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 1 Dec 2003 03:55:36 -0000
- Subject: gcc/gcc c-objc-common.c c-opts.c ChangeLog
CVSROOT: /cvs/gcc
Module name: gcc
Branch: compile-server-branch
Changes by: bothner@gcc.gnu.org 2003-12-01 03:55:36
Modified files:
gcc : c-objc-common.c c-opts.c ChangeLog
Log message:
* c-objc-common.c (init_c_objc_common_once): Move INIT_STATEMENT_CODES
to here from init_c_objc_common_eachsrc.
* c-objc-common.c (init_c_objc_common_eachsrc): Move call to
c_decl_processing_eachsrc before cpp_do_macro_callbacks, since
before does reset_cpp_hashnodes and so would undo latter.
* c-opts.c (finish_options): Move cpp_find_main_file call out to
c_common_post_options.
(c_common_post_options): Call finish_options only if preprocess-only.
(init_c_common_eachsrc): Call finish_options here instead.
This is because we want to process the command-line after
reset_cpp_hashnodes, not before.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-objc-common.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.29.2.5&r2=1.29.2.6
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.11&r2=1.79.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=2.618.2.58&r2=2.618.2.59