re PR gcov-profile/46266 (gcov generates data for non-existing file <built-in>)
authorMartin Liska <mliska@suse.cz>
Tue, 27 Sep 2016 13:22:04 +0000 (15:22 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 27 Sep 2016 13:22:04 +0000 (13:22 +0000)
commitbebe00865b2220d5422a461da9ba00dd996faed6
treea350b8ac8a20df6b4c2255393b3c04ce3e4310f4
parentb51fe6a98e93c424e709759cf78452e2e701362e
re PR gcov-profile/46266 (gcov generates data for non-existing file <built-in>)

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.

From-SVN: r240536
gcc/ChangeLog
gcc/input.h
gcc/profile.c
gcc/testsuite/ChangeLog
gcc/testsuite/lib/gcov.exp