re PR bootstrap/71400 (profiledbootstrap failed)
authorAaron Conole <aconole@redhat.com>
Mon, 6 Jun 2016 15:24:24 +0000 (15:24 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 6 Jun 2016 15:24:24 +0000 (15:24 +0000)
commit0a0ec53d12b6a8ba94dc19db514ce1d3ef2af669
tree93fdd91271bc27e634bffdb53c15783f8bdb3b0e
parent93671519e202e3bc5ab592bb6318aa738e4ae58f
re PR bootstrap/71400 (profiledbootstrap failed)

PR libgcc/71400
* libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
(get_gcov_error_file): Check __gcov_error_file before trying to
initialize it.
(gcov_error): Always use get_gcov_error_file.

Co-Authored-By: Nathan Sidwell <nathan@acm.org>
From-SVN: r237135
libgcc/ChangeLog
libgcc/libgcov-driver-system.c