]> git.ipfire.org Git - thirdparty/gcc.git/commit
libcpp: Avoid unnecessary ad-hoc uses for large source files
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Dec 2015 22:06:00 +0000 (22:06 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Dec 2015 22:06:00 +0000 (22:06 +0000)
commit7b4b11d3bd6a295a74062583f8fc0bf2d5161005
tree7b51b5685ab6c1dc082095c957e45d186e8866aa
parentfc7a3a00ad5089bd13f7e4646f7a319e7eee407c
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231918 138bc75d-0d04-0410-961f-82ee72b054a4
libcpp/ChangeLog
libcpp/line-map.c