This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gcov-profile/46266] gcov generates data for non-existing file <built-in>


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]