gcc/libcpp
Gabriel Charette e3dfef44ef Add ability to force lexed tokens' source_locations.
Use it to force BUILTINS_LOCATION when declaring builtins instead of creating a <built-in> entry in the line_table which is wrong.

	* c-opts.c (c_finish_options): Force BUILTINS_LOCATION for tokens
	defined in cpp_init_builtins and c_cpp_builtins.

	gcc/fortran/ChangeLog
	* cpp.c (gfc_cpp_init): Force BUILTINS_LOCATION for tokens
	defined in cpp_define_builtins.

	libcpp/ChangeLog
	* 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.

From-SVN: r177973
2011-08-22 20:41:07 +00:00
..
include Add ability to force lexed tokens' source_locations. 2011-08-22 20:41:07 +00:00
po be.po, [...]: Update. 2011-07-08 20:29:04 +01:00
aclocal.m4
ChangeLog Add ability to force lexed tokens' source_locations. 2011-08-22 20:41:07 +00:00
charset.c
config.in
configure Set need_64bit_hwint to yes for x86 targets. 2011-07-28 07:29:38 -07:00
configure.ac Set need_64bit_hwint to yes for x86 targets. 2011-07-28 07:29:38 -07:00
directives-only.c LINEMAP_POSITION_FOR_COLUMN had the exact same effect as linemap_position_for_column... 2011-08-15 20:35:58 +00:00
directives.c Use source_location where it is due 2011-07-15 23:34:02 +02:00
errors.c
expr.c
files.c
identifiers.c
init.c Add ability to force lexed tokens' source_locations. 2011-08-22 20:41:07 +00:00
internal.h Add ability to force lexed tokens' source_locations. 2011-08-22 20:41:07 +00:00
lex.c Add ability to force lexed tokens' source_locations. 2011-08-22 20:41:07 +00:00
line-map.c line-map.h (struct line_maps): Remove unused field last_listed. 2011-07-28 20:57:20 +00:00
macro.c
Makefile.in
makeucnid.c
mkdeps.c
pch.c
symtab.c
system.h system.h [...]: Wrap C function declarations in extern "C". 2011-07-25 14:26:58 +00:00
traditional.c
ucnid.h
ucnid.tab