https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78086
Bug ID: 78086
Summary: FAIL: gcc.misc-tests/gcov-1.c, etc
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: danglin at gcc dot gnu.org
Target Milestone: ---
Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
Build: hppa64-hp-hpux11.11
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/gcc/testsuite/gcc.misc-tests/gcov-1.c
-fno-diagnostics-show-car
et -fdiagnostics-color=never -fprofile-arcs -ftest-coverage -lm -o
./gcov-
1.exe (timeout = 300)
spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gc
c/gcc/testsuite/gcc.misc-tests/gcov-1.c -fno-diagnostics-show-caret
-fdiagnostic
s-color=never -fprofile-arcs -ftest-coverage -lm -o ./gcov-1.exe
PASS: gcc.misc-tests/gcov-1.c (test for excess errors)Setting LD_LIBRARY_PATH
to :/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/hppa64
-hp-hpux11.11/./libatomic/.libs::/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libsspawn
[open ...]PASS: gcc.misc-tests/gcov-1.c execution test
Executing on host: /test/gnu/gcc/objdir/gcc/gcov gcov-1.c (timeout =
300)spawn /test/gnu/gcc/objdir/gcc/gcov gcov-1.cgcov-1.gcda:cannot open data
file, assuming not executed
File '/test/gnu/gcc/gcc/gcc/testsuite/gcc.misc-tests/gcov-1.c'
Lines executed:0.00% of 6Creating 'gcov-1.c.gcov'
FAIL: gcc.misc-tests/gcov-1.c line 14: is #####:should be 11
FAIL: gcc.misc-tests/gcov-1.c line 15: is #####:should be 10
FAIL: gcc.misc-tests/gcov-1.c gcov: 3 failures in line counts, 0 in branch
percentages, 0 in return percentages, 0 in intermediate format
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/gcc/testsuite/gcc.misc-tests/gcov-10.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -fprofile-arcs
-ftest-coverage -lm -o ./gcov
-10.exe (timeout = 300)spawn /test/gnu/gcc/objdir/gcc/xgcc
-B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gcc/gcc/testsuite/gcc.misc-tests/gcov-10.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -fprofile-arcs
-ftest-coverage -lm -o ./gcov-10.exe
PASS: gcc.misc-tests/gcov-10.c (test for excess errors)Setting LD_LIBRARY_PATH
to
:/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libatomic/.libs::/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/h
ppa64-hp-hpux11.11/./libatomic/.libs
spawn [open ...]PASS: gcc.misc-tests/gcov-10.c execution testExecuting on host:
/test/gnu/gcc/objdir/gcc/gcov -a gcov-10.c (timeout = 300
)
spawn /test/gnu/gcc/objdir/gcc/gcov -a gcov-10.c
gcov-10.gcda:cannot open data file, assuming not executedFile
'/test/gnu/gcc/gcc/gcc/testsuite/gcc.misc-tests/gcov-10.c'
Lines executed:0.00% of 4
Creating 'gcov-10.c.gcov'
FAIL: gcc.misc-tests/gcov-10.c line 10: is #####:should be 11
FAIL: gcc.misc-tests/gcov-10.c gcov: 1 failures in line counts, 0 in branch
percentages, 0 in return percentages, 0 in intermediate format
...
-bash-4.4$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa64-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu64/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --with-local-prefix=/opt/gnu64
--prefix=/opt/gnu64/gcc/gcc-7 --enable-threads=posix
--with-gmp=/opt/gnu64/gcc/gmp --enable-checking=release
--enable-languages=c,c++,objc,obj-c++,fortran
Thread model: posix
gcc version 7.0.0 20161022 (experimental) [trunk revision 241440] (GCC)