Fix PR gcov-profile/46266
commitfebf7a4513bd31e5dcff1a87f5825efbd6fc8e90
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Sep 2016 13:22:04 +0000 (27 13:22 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Sep 2016 13:22:04 +0000 (27 13:22 +0000)
treea350b8ac8a20df6b4c2255393b3c04ce3e4310f4
parent7469707ce8cf1d74002118cdca992650998d4acd
Fix PR gcov-profile/46266

PR gcov-profile/46266
* lib/gcov.exp: Verify that <built-in>.gcov file is not
considered.
* input.h (RESERVED_LOCATION_P): New macro.
* profile.c (branch_prob): Use RESERVED_LOCATION_P and
instread of comparison with UNKNOWN_LOCATION.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240536 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/input.h
gcc/profile.c
gcc/testsuite/ChangeLog
gcc/testsuite/lib/gcov.exp