diff options
author | Teresa Johnson <tejohnson@google.com> | 2012-09-13 04:59:14 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@gcc.gnu.org> | 2012-09-13 04:59:14 +0000 |
commit | c1736aea437d36ba1b5fde344d30a2522f1d438c (patch) | |
tree | 82ac9f479b6edc66be72e9fef90299de5bc73430 /gcc/function.h | |
parent | 8dec297cde150e616a4271302b0c22570609904c (diff) | |
download | gcc-c1736aea437d36ba1b5fde344d30a2522f1d438c.zip gcc-c1736aea437d36ba1b5fde344d30a2522f1d438c.tar.gz gcc-c1736aea437d36ba1b5fde344d30a2522f1d438c.tar.bz2 |
This fixes PR gcov-profile/54487 where the gcda files were not locked by the profile-use read...
This fixes PR gcov-profile/54487 where the gcda files were not locked
by the profile-use read, enabling writes by other instrumented compiles
to change the profile in the middle of the profile use read. The GCOV_LOCKED
macro was not set because it was guarded by HOST_HAS_F_SETLKW, which was
never set. The fix is to add a compile test in the configure to set it.
2012-09-12 Teresa Johnson <tejohnson@google.com>
PR gcov-profile/54487
* configure.ac (HOST_HAS_F_SETLKW): Set based on compile
test using F_SETLKW with fcntl.
* configure, config.in: Regenerate.
From-SVN: r191238
Diffstat (limited to 'gcc/function.h')
0 files changed, 0 insertions, 0 deletions