gcc/libcpp
David Malcolm 196440f844 PR preprocessor/69126: avoid comparing ad-hoc and non-ad-hoc locations
gcc/testsuite/ChangeLog:
	PR preprocessor/69126
	PR preprocessor/69543
	* c-c++-common/pr69126-2-long.c: New test.
	* c-c++-common/pr69126-2-short.c: New test.
	* c-c++-common/pr69543-1.c: Remove xfail.

libcpp/ChangeLog:
	PR preprocessor/69126
	PR preprocessor/69543
	* line-map.c (linemap_compare_locations): At the function top,
	replace inlined bodies of get_location_from_adhoc_loc with calls
	to get_location_from_adhoc_loc.  Add a pair of calls to
	get_location_from_adhoc_loc at the bottom of the function, to
	avoid meaningless comparisons of ad-hoc and non-ad-hoc locations.

From-SVN: r233638
2016-02-23 17:44:28 +00:00
..
include Update copyright years. 2016-01-04 15:30:50 +01:00
po * eo.po: Update. 2016-02-12 21:26:33 +00:00
aclocal.m4
ChangeLog PR preprocessor/69126: avoid comparing ad-hoc and non-ad-hoc locations 2016-02-23 17:44:28 +00:00
ChangeLog.jit
charset.c re PR c++/69628 (Conditional jump or move depends on uninitialised value(s) in lex_charconst(cpp_token const*) (c-lex.c:1252)) 2016-02-05 20:39:48 +01:00
config.in
configure
configure.ac
directives-only.c Update copyright years. 2016-01-04 15:30:50 +01:00
directives.c * directives.c (destringize_and_run): Adjust prototype. 2016-01-28 15:33:55 +01:00
errors.c PR preprocessor/69664: fix rich_location::override_column 2016-02-08 17:33:45 +00:00
expr.c Update copyright years. 2016-01-04 15:30:50 +01:00
files.c re PR pch/68176 (all pch tests fail on eglibc systems (with bits/predefs.h)) 2016-01-28 23:35:20 +01:00
identifiers.c Update copyright years. 2016-01-04 15:30:50 +01:00
init.c Update copyright years. 2016-01-04 15:30:50 +01:00
internal.h libcpp: use better locations for _Pragma tokens (preprocessor/69126) 2016-01-27 18:57:51 +00:00
lex.c Update copyright years. 2016-01-04 15:30:50 +01:00
line-map.c PR preprocessor/69126: avoid comparing ad-hoc and non-ad-hoc locations 2016-02-23 17:44:28 +00:00
location-example.txt
macro.c libcpp: use better locations for _Pragma tokens (preprocessor/69126) 2016-01-27 18:57:51 +00:00
Makefile.in Update copyright years. 2016-01-04 15:30:50 +01:00
makeucnid.c Update copyright years. 2016-01-04 15:30:50 +01:00
mkdeps.c Update copyright years. 2016-01-04 15:30:50 +01:00
pch.c Update copyright years. 2016-01-04 15:30:50 +01:00
symtab.c Update copyright years. 2016-01-04 15:30:50 +01:00
system.h Update copyright years. 2016-01-04 15:30:50 +01:00
traditional.c Update copyright years. 2016-01-04 15:30:50 +01:00
ucnid.h Update copyright years. 2016-01-04 15:30:50 +01:00
ucnid.tab Update copyright years. 2016-01-04 15:30:50 +01:00