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
..
2018-08-20 17:45:42 +00:00
2018-07-25 15:31:18 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-08-20 16:32:29 +00:00
2018-01-03 11:03:58 +01:00
2018-08-16 13:51:38 +00:00
2018-08-16 13:51:38 +00:00
2018-08-16 13:51:38 +00:00
2018-08-20 16:32:29 +00:00
2018-08-20 14:20:04 +00:00
2018-08-17 16:07:19 +00:00
2018-08-20 16:32:29 +00:00
2018-08-20 14:20:04 +00:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-08-20 16:32:29 +00:00
2018-01-03 11:03:58 +01:00
2018-05-23 13:13:30 -04:00
2018-08-20 16:32:29 +00:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00