This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Random C testsuite failures for gcc-3_0-branch (i686-pc-linux-gnu)
- From: Andris Pavenis <pavenis at latnet dot lv>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 7 Jan 2002 10:11:41 +0200
- Subject: Random C testsuite failures for gcc-3_0-branch (i686-pc-linux-gnu)
Sorry somehow errorously pressed send button to early ...
I'm getting some testsuite failures randomly appearing and disappearing when
running GCC C testsuite (nightly bootstrapping and testing current CVS
version of gcc-3.0 branch for i686-pc-linux-gnu). I rerun 'make check-gcc'
today and got different test results with same sources and binaries.
Andris
Source: gcc 3.0 branch (last updated 2002 Jan 07 01:01 +0200)
System: Linux kernel 2.4.17
glibc-2.2.3
binutils-2.11.90.0.31
Pentium III, 512Mb RAM
=== gcc tests ===
Running target unix
XPASS: gcc.c-torture/execute/20000801-4.c execution, -O0
XPASS: gcc.c-torture/execute/20000801-4.c execution, -O1
XPASS: gcc.c-torture/execute/20000801-4.c execution, -O2
XPASS: gcc.c-torture/execute/20000801-4.c execution, -O3 -fomit-frame-pointer
XPASS: gcc.c-torture/execute/20000801-4.c execution, -O3 -g
XPASS: gcc.c-torture/execute/20000801-4.c execution, -Os
FAIL: gcc.dg/format/c99-scanf-1.c %hhu sign (test for warnings, line 144)
=== gcc Summary ===
# of expected passes 15342
# of unexpected failures 1
# of unexpected successes 6
# of expected failures 77
# of unsupported tests 20
/disk2/cvs/gcc30/build/build.lnx/gcc/xgcc version 3.0.4 20020106 (prerelease)
Later I rerun GCC tests once more and no more got failure for gcc/dg/format/c99-scanf-1.c.
Other results of C tests where identical. I'm including diffs of log files of both runs of C testsuite
in attachment
For example day before I got even more failures, but only source changes were in date in versions:
=== gcc tests ===
Running target unix
XPASS: gcc.c-torture/execute/20000801-4.c execution, -O0
XPASS: gcc.c-torture/execute/20000801-4.c execution, -O1
XPASS: gcc.c-torture/execute/20000801-4.c execution, -O2
XPASS: gcc.c-torture/execute/20000801-4.c execution, -O3 -fomit-frame-pointer
XPASS: gcc.c-torture/execute/20000801-4.c execution, -O3 -g
XPASS: gcc.c-torture/execute/20000801-4.c execution, -Os
FAIL: gcc.dg/format/c99-scanf-1.c %hhu sign (test for warnings, line 144)
FAIL: gcc.dg/format/c99-scanf-1.c (test for excess errors)
FAIL: gcc.dg/format/c99-scanf-1.c %hhu sign (test for warnings, line 144)
FAIL: gcc.dg/noncompile/920923-1.c (test for errors, line 111)
FAIL: gcc.dg/noncompile/920923-1.c (test for excess errors)
=== gcc Summary ===
# of expected passes 15338
# of unexpected failures 5
# of unexpected successes 6
# of expected failures 77
# of unsupported tests 20
/disk2/cvs/gcc30/build/build.lnx/gcc/xgcc version 3.0.4 20020105 (prerelease)
Here are information about files updated between these 2 builds
Updating CVS tree
P gcc/version.c
P gcc/f/version.c
P libf2c/libF77/Version.c
P libf2c/libI77/Version.c
P libf2c/libU77/Version.c
P libstdc++-v3/include/bits/c++config
Adjusting file timestamps
So It really seems that some testsuite failures appears randomly
Andris
--- gcc.log Mon Jan 7 03:02:09 2002
+++ gcc.log2 Mon Jan 7 09:47:41 2002
@@ -1,4 +1,4 @@
-Test Run By andris on Mon Jan 7 02:34:20 2002
+Test Run By andris on Mon Jan 7 09:13:51 2002
Native configuration is i686-pc-linux-gnu
=== gcc tests ===
@@ -4935,7 +4935,7 @@
PASS: gcc.c-torture/compile/20011205-1.c, -O3 -g
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ -w -Os -c -o /disk2/cvs/gcc30/build/build.lnx/gcc/testsuite/20011205-1.o /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/compile/20011205-1.c (timeout = 300)
PASS: gcc.c-torture/compile/20011205-1.c, -Os
-testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/compile/compile.exp completed in 651 seconds
+testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/compile/compile.exp completed in 730 seconds
Running /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/execute.exp ...
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/20000112-1.c -w -O0 -lm -o /disk2/cvs/gcc30/build/build.lnx/gcc/testsuite/20000112-1.x0 (timeout = 300)
PASS: gcc.c-torture/execute/20000112-1.c compilation, -O0
@@ -15435,7 +15435,7 @@
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/zerolen-2.c -w -Os -lm -o /disk2/cvs/gcc30/build/build.lnx/gcc/testsuite/zerolen-2.x5 (timeout = 300)
PASS: gcc.c-torture/execute/zerolen-2.c compilation, -Os
PASS: gcc.c-torture/execute/zerolen-2.c execution, -Os
-testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/execute.exp completed in 758 seconds
+testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/execute.exp completed in 1017 seconds
Running /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp ...
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/20000320-1.c -w -O0 -ffloat-store -lm -o /disk2/cvs/gcc30/build/build.lnx/gcc/testsuite/20000320-1.x0 (timeout = 300)
PASS: gcc.c-torture/execute/ieee/20000320-1.c compilation, -O0
@@ -15749,7 +15749,7 @@
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/rbug.c -w -Os -ffloat-store -lm -o /disk2/cvs/gcc30/build/build.lnx/gcc/testsuite/rbug.x5 (timeout = 300)
PASS: gcc.c-torture/execute/ieee/rbug.c compilation, -Os
PASS: gcc.c-torture/execute/ieee/rbug.c execution, -Os
-testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp completed in 24 seconds
+testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp completed in 28 seconds
Running /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/memcheck/memcheck.exp ...
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ -w -g -c -o driver.o /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/memcheck/driver.c (timeout = 300)
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/memcheck/t1.c -w -O0 -fcheck-memory-usage driver.o -lm -o /disk2/cvs/gcc30/build/build.lnx/gcc/testsuite/t1.x0 (timeout = 300)
@@ -15914,7 +15914,7 @@
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/memcheck/t9.c -w -Os -fcheck-memory-usage driver.o -lm -o /disk2/cvs/gcc30/build/build.lnx/gcc/testsuite/t9.x5 (timeout = 300)
PASS: gcc.c-torture/execute/memcheck/t9.c compilation, -Os
PASS: gcc.c-torture/execute/memcheck/t9.c execution, -Os
-testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/memcheck/memcheck.exp completed in 12 seconds
+testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/execute/memcheck/memcheck.exp completed in 13 seconds
Running /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp ...
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ -w -O0 -c -o /disk2/cvs/gcc30/build/build.lnx/gcc/testsuite/PYRBUG.o /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/unsorted/PYRBUG.c (timeout = 300)
PASS: gcc.c-torture/unsorted/PYRBUG.c, -O0
@@ -19380,7 +19380,7 @@
PASS: gcc.c-torture/unsorted/xzz.c, -O3 -g
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ -w -Os -c -o /disk2/cvs/gcc30/build/build.lnx/gcc/testsuite/xzz.o /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/unsorted/xzz.c (timeout = 300)
PASS: gcc.c-torture/unsorted/xzz.c, -Os
-testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp completed in 142 seconds
+testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp completed in 161 seconds
Running /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/cpp/cpp.exp ...
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/cpp/19921210-1.c -ansi -pedantic-errors -S -o 19921210-1.s (timeout = 300)
PASS: gcc.dg/cpp/19921210-1.c (test for excess errors)
@@ -25555,7 +25555,9 @@
/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c:133: warning: use of `L' length modifier with `c' type character
/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c:134: warning: use of `L' length modifier with `p' type character
/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c:135: warning: use of `L' length modifier with `n' type character
-/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c:143: warning: signed char format, uoutput is:
+/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c:143: warning: signed char format, unsigned char arg (arg 2)
+/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c:144: warning: unsigned char format, signed char arg (arg 2)
+output is:
/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c: In function `foo':
/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c:30: warning: assignment suppression used with `%n' scanf format
/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c:31: warning: use of assignment suppression and length modifier together in scanf format
@@ -25645,7 +25647,9 @@
/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c:133: warning: use of `L' length modifier with `c' type character
/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c:134: warning: use of `L' length modifier with `p' type character
/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c:135: warning: use of `L' length modifier with `n' type character
-/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c:143: warning: signed char format, u
+/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c:143: warning: signed char format, unsigned char arg (arg 2)
+/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c:144: warning: unsigned char format, signed char arg (arg 2)
+
PASS: gcc.dg/format/c99-scanf-1.c suppression of %n (test for warnings, line 30)
PASS: gcc.dg/format/c99-scanf-1.c suppression with length (test for warnings, line 31)
PASS: gcc.dg/format/c99-scanf-1.c warning for zero width (test for warnings, line 35)
@@ -25736,7 +25740,7 @@
PASS: gcc.dg/format/c99-scanf-1.c bad use of %L (test for warnings, line 134)
PASS: gcc.dg/format/c99-scanf-1.c bad use of %L (test for warnings, line 135)
PASS: gcc.dg/format/c99-scanf-1.c %hhd sign (test for warnings, line 143)
-FAIL: gcc.dg/format/c99-scanf-1.c %hhu sign (test for warnings, line 144)
+PASS: gcc.dg/format/c99-scanf-1.c %hhu sign (test for warnings, line 144)
PASS: gcc.dg/format/c99-scanf-1.c (test for excess errors)
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c -DWIDE -std=iso9899:1999 -pedantic -Wformat -S -o c99-scanf-1.s (timeout = 300)
/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/c99-scanf-1.c: In function `foo':
@@ -29319,7 +29323,7 @@
PASS: gcc.dg/format/z-1.c bogus printf warning (test for bogus messages, line 19)
PASS: gcc.dg/format/z-1.c bogus printf warning (test for bogus messages, line 27)
PASS: gcc.dg/format/z-1.c (test for excess errors)
-testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/format.exp completed in 26 seconds
+testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/format/format.exp completed in 24 seconds
Running /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/noncompile/noncompile.exp ...
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/noncompile/20001228-1.c -O0 -S -o 20001228-1.s (timeout = 300)
/disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.dg/noncompile/20001228-1.c: In function `rof':
@@ -33488,7 +33492,7 @@
cc -c /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.misc-tests/linkage-y.c >&/dev/null
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ linkage-y.o linkage-x.o -lm -o x (timeout = 300)
PASS: linkage.c
-testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.misc-tests/linkage.exp completed in 0 seconds
+testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.misc-tests/linkage.exp completed in 1 seconds
Running /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.misc-tests/matrix1.exp ...
testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.misc-tests/matrix1.exp completed in 0 seconds
Running /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.misc-tests/mg.exp ...
@@ -33506,7 +33510,7 @@
PASS: gcc.misc-tests/mg.c
-testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.misc-tests/mg.exp completed in 1 seconds
+testcase /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.misc-tests/mg.exp completed in 0 seconds
Running /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.misc-tests/msgs.exp ...
Executing on host: /disk2/cvs/gcc30/build/build.lnx/gcc/xgcc -B/disk2/cvs/gcc30/build/build.lnx/gcc/ /disk2/cvs/gcc30/build/gcc/gcc/testsuite/gcc.misc-tests/m-un-1.c -O -Wall -S -o m-un-1.s (timeout = 300)
PASS: gcc.misc-tests/m-un-1.c uninitialized warning regression (test for bogus messages, line 28)
@@ -33535,8 +33539,7 @@
=== gcc Summary ===
-# of expected passes 15342
-# of unexpected failures 1
+# of expected passes 15343
# of unexpected successes 6
# of expected failures 77
# of unsupported tests 20
@@ -33548,4 +33551,4 @@
/disk2/cvs/gcc30/build/build.lnx/gcc/xgcc version 3.0.4 20020106 (prerelease)
-runtest completed at Mon Jan 7 03:02:09 2002
+runtest completed at Mon Jan 7 09:47:41 2002