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
aclocal.m4
ChangeLog Set start_location to 0 if we ran out of line map space 2018-08-24 16:37:53 -07:00
ChangeLog.jit
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
files.c
identifiers.c
init.c [CPP PATCH] node type 2018-08-20 16:32:29 +00:00
internal.h
lex.c
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
Makefile.in
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