This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r177798 - in /branches/pph: gcc/c-family/Change...
- From: gchare at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 16 Aug 2011 20:55:41 -0000
- Subject: r177798 - in /branches/pph: gcc/c-family/Change...
Author: gchare
Date: Tue Aug 16 20:55:40 2011
New Revision: 177798
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177798
Log:
Forwarding force token location patch from trunk to pph branch.
gcc/c-family/ChangeLog.pph
* c-opts.c (c_finish_options): Force BUILTINS_LOCATION for tokens
defined in cpp_init_builtins and c_cpp_builtins.
libcpp/ChangeLog.pph
* init.c (cpp_create_reader): Inititalize forced_token_location_p.
* internal.h (struct cpp_reader): Add field forced_token_location_p.
* lex.c (_cpp_lex_direct): Use forced_token_location_p.
(cpp_force_token_locations): New.
(cpp_stop_forcing_token_locations): New.
gcc/cp/ChangeLog.pph
* pph-streamer-out.c (pph_write_location): Better asserts.
* pph-streamer.h (PPH_NUM_IGNORED_LINE_TABLE_ENTRIES): Set to 2.
Modified:
branches/pph/gcc/c-family/ChangeLog.pph
branches/pph/gcc/c-family/c-opts.c
branches/pph/gcc/cp/ChangeLog.pph
branches/pph/gcc/cp/pph-streamer-out.c
branches/pph/gcc/cp/pph-streamer.h
branches/pph/libcpp/ChangeLog.pph
branches/pph/libcpp/include/cpplib.h
branches/pph/libcpp/init.c
branches/pph/libcpp/internal.h
branches/pph/libcpp/lex.c