libcpp: Avoid unnecessary ad-hoc uses for large source files
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 22 Dec 2015 22:06:00 +0000 (22:06 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 22 Dec 2015 22:06:00 +0000 (22:06 +0000)
commit329590d70441f5300eafa7340845a65359b1c46b
tree7b51b5685ab6c1dc082095c957e45d186e8866aa
parent9edb6bb8d37985e92be466ca9d3418034e00fd7b
libcpp: Avoid unnecessary ad-hoc uses for large source files

libcpp/ChangeLog:
* line-map.c (get_combined_adhoc_loc): Remove condition
on locus < RESERVED_LOCATION_COUNT when considering
whether a caret == start == finish location can be
simply stored as the caret location.

From-SVN: r231918
libcpp/ChangeLog
libcpp/line-map.c