https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111632
--- Comment #29 from Dimitry Andric <dimitry at andric dot com> --- (In reply to Liviu Ionescu from comment #28) > (In reply to Francois-Xavier Coudert from comment #27) > > *** Bug 115006 has been marked as a duplicate of this bug. *** > > 11506 is related to gcov.cc, does the existing fixes also apply to this file? https://gcc.gnu.org/g:9970b576b7e4ae337af1268395ff221348c4b34a fixes system.h which is also included by gcov.cc, so I would expect that to work. Which version of gcc were you building?