This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov-profile/46266] gcov generates data for non-existing file <built-in>
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 27 Sep 2016 13:22:37 +0000
- Subject: [Bug gcov-profile/46266] gcov generates data for non-existing file <built-in>
- Auto-submitted: auto-generated
- References: <bug-46266-4@http.gcc.gnu.org/bugzilla/>
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