diff options
| author | David Malcolm <dmalcolm@redhat.com> | 2016-02-23 17:44:28 +0000 |
|---|---|---|
| committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2016-02-23 17:44:28 +0000 |
| commit | 196440f844be32600507b6a026bca318675d5cd0 (patch) | |
| tree | 6c0de6232fb3db3c73408db9d8aeaa7ce4297065 /libcpp/ChangeLog | |
| parent | 1d3121af3ad1eb7eb240b0b949d4b57415497463 (diff) | |
| download | gcc-196440f844be32600507b6a026bca318675d5cd0.tar.gz gcc-196440f844be32600507b6a026bca318675d5cd0.tar.bz2 gcc-196440f844be32600507b6a026bca318675d5cd0.zip | |
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
Diffstat (limited to 'libcpp/ChangeLog')
| -rw-r--r-- | libcpp/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index a5cef17df45..1dfcf8dbb72 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,13 @@ +2016-02-23 David Malcolm <dmalcolm@redhat.com> + + 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. + 2016-02-08 David Malcolm <dmalcolm@redhat.com> PR preprocessor/69664 |
