gcc/libcpp
Dodji Seketeli 892a371f3b Fix the use of linemap_add and remove unnecessary kludge
libcpp/

	* line-map.c (linemap_add): Assert that reason must not be
	LC_RENAME when called for the first time on a "main input file".

c-family/

	* c-pch.c (c_common_read_pch): Call linemap_add with LC_ENTER as it's
	the first time it's being called on this main TU.

gcc/lto/

	* lto-lang.c (lto_init): Likewise.  Also, avoid calling
	linemap_add twice.

gcc/fortran/

	* scanner.c (load_file): Don't abuse LC_RENAME reason while
	(indirectly) calling linemap_add.

From-SVN: r178146
2011-08-28 22:14:46 +02:00
..
include Add ability to force lexed tokens' source_locations. 2011-08-22 20:41:07 +00:00
po
aclocal.m4
ChangeLog Fix the use of linemap_add and remove unnecessary kludge 2011-08-28 22:14:46 +02: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
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 Fix the use of linemap_add and remove unnecessary kludge 2011-08-28 22:14:46 +02: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