[Bug gcov-profile/85871] g++.dg/gcov/gcov-8.C random failures

mkuvyrkov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 30 13:03:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85871

Maxim Kuvyrkov <mkuvyrkov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mkuvyrkov at gcc dot gnu.org

--- Comment #5 from Maxim Kuvyrkov <mkuvyrkov at gcc dot gnu.org> ---
(In reply to Christophe Lyon from comment #0)
> Hi,
> 
> It seems g++.dg/gcov/gcov-8.C is failing randomly as one can see by looking
> at reports on https://gcc.gnu.org/ml/gcc-testresults/
...
> FAIL: g++.dg/gcov/gcov-8.C  -std=gnu++98  gcov failed: File
> '/home/tcwg-buildslave/workspace/tcwg-buildfarm/tcwg-x86_32-build/snapshots/
> gcc.git~master_rev_e4ddfbc4c1d49271c7c17e574c522a53f9152522/gcc/testsuite/
> g++.dg/gcov/gcov-8.C'

Is this unfortunate copy-paste or does "gcov failed: File ..." part appears on
the same line as "FAIL: g++.dg/gcov/gcov-8.C  -std=gnu++98"?

If it is the latter, then the problem is, likely, in testing harness mixing up
file descriptors, and sending 1st line of output to a wrong file.  This causes
the failure since pattern for the first line doesn't match.


More information about the Gcc-bugs mailing list