Re: For help:Unexpected fail about testsuite of GCC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



U.Mutlu wrote on 07/06/2018 12:45 PM:
Hello CL,

[as said, I'm new to the gcc testsuite, much like you, so take my answer with
grain of salt, or so to say :-)]


In your original posting you had this failing example:
'FAIL: g++.dg/pr80481.C  -std=gnu++14  scan-assembler-not vmovaps'

The test source file pr80481.C is in the source directory under:
   $ find ../gcc_trunk/ -iname "pr80481.C" -print
   ../gcc_trunk/gcc/testsuite/g++.dg/pr80481.C
and is handled by the make-target "check-c++" (see the log file of "make -k
check"; you have to save that log file for reference & searching...).

So, now in the next step you have to make the following test that will
test just the "check-c++" category of the tests but with the additional
flags "RUNTESTFLAGS="-v -v" as it will give more verbosity in the log file:
   make -k check-c++ RUNTESTFLAGS="-v -v"
And again redirect the output into a log file for analysis.

It takes a long time (maybe one better should use the make -j
to use parallelization, ie. using all CPU cores for the tests).

The log file will give indication under which conditions that test fails.

I'm running this test myself now, it has not finished yet.
Here, you can find additional info (see under the section "Increase the
verbosity":
https://gcc.gnu.org/wiki/Testing_GCC


Ok, here are the first results of this bug hunting session:

The above said FAIL case seems to be related to these errors:

/sw/src/gcc_dev/gcc_trunk/gcc/testsuite/g++.dg/spellcheck-identifiers-2.C:12:10: error: 'ssacnf' was not declared in this scope /sw/src/gcc_dev/gcc_trunk/gcc/testsuite/g++.dg/spellcheck-identifiers-2.C:32:10: error: 'sacnf' was not declared in this scope /sw/src/gcc_dev/gcc_trunk/gcc/testsuite/g++.dg/spellcheck-reswords.C:3:3: error: 'forget' was not declared in this scope /sw/src/gcc_dev/gcc_trunk/gcc/testsuite/g++.dg/spellcheck-reswords.C:9:3: error: 'memset' was not declared in this scope

as these errors happen between the following markers in the log:

 363945 Testing g++.dg/pr80481.C,  -std=gnu++14
 ...
 364936 FAIL: g++.dg/pr80481.C  -std=gnu++14  scan-assembler-not vmovaps


...to be continued...




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux