gcc/libcpp
H.J. Lu cf806c7dc3 Set start_location to 0 if we ran out of line map space
With profiledbootstrap and --with-build-config=bootstrap-lto, linemap_add
may create a macro map when we run out of line map space.  This patch
changes start_location to UNKNOWN_LOCATION (0) in this case.

Tested with profiledbootstrap and --with-build-config=bootstrap-lto on
Linux/x86-64.

	PR bootstrap/86872
	* line-map.c (pure_location_p): Return true if linemap_lookup
	returns NULL.
	(linemap_add): Set start_location to 0 if we run out of line map
	space.

From-SVN: r263845
2018-08-24 16:37:53 -07:00
..
include [CPP PATCH] node field bits 2018-08-20 17:45:42 +00:00
po Regenerate .pot files. 2018-07-25 15:31:18 +01:00
ChangeLog Set start_location to 0 if we ran out of line map space 2018-08-24 16:37:53 -07:00
ChangeLog.jit
Makefile.in [PATCH] Kill cpp-id-data.h 2018-08-20 14:20:04 +00:00
aclocal.m4
charset.c
config.in
configure
configure.ac
directives-only.c
directives.c [CPP PATCH] node type 2018-08-20 16:32:29 +00:00
errors.c
expr.c [PATCH] CPP Macro predicates 2018-08-16 13:51:38 +00:00
files.c [PATCH] CPP Macro predicates 2018-08-16 13:51:38 +00:00
identifiers.c [PATCH] CPP Macro predicates 2018-08-16 13:51:38 +00:00
init.c [CPP PATCH] node type 2018-08-20 16:32:29 +00:00
internal.h [PATCH] Kill cpp-id-data.h 2018-08-20 14:20:04 +00:00
lex.c [PATCH] Macro body is trailing array 2018-08-17 16:07:19 +00:00
line-map.c Set start_location to 0 if we ran out of line map space 2018-08-24 16:37:53 -07:00
location-example.txt
macro.c [CPP PATCH] node type 2018-08-20 16:32:29 +00:00
makeucnid.c
mkdeps.c
pch.c [CPP PATCH] node type 2018-08-20 16:32:29 +00:00
symtab.c
system.h
traditional.c [CPP PATCH] node type 2018-08-20 16:32:29 +00:00
ucnid.h
ucnid.tab