[Bug gcov-profile/46266] gcov generates data for non-existing file <built-in>
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 27 13:22:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46266
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Sep 27 13:22:04 2016
New Revision: 240536
URL: https://gcc.gnu.org/viewcvs?rev=240536&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/input.h
trunk/gcc/profile.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/lib/gcov.exp
More information about the Gcc-bugs
mailing list