Vaivaswatha N <vaivaswa...@yahoo.co.in> writes: > I was experimenting with some code (tree-ssa-sccvn.c to be precise), and > while doing so, when I ran the testsuite, I got an error with a file (namely, > "20030125-1.c" in "gcc.c-torture/compile/"). > > My problem is, when I copy this file aside and try to compile it (using the > same build of course), I do not get any error. How is it that the test fails > only when run through the testsuite? I'm kind of lost here as I need to debug > this file and see where it fails.
Look at gcc/testsuite/gcc/gcc.log to see precisely how the file is being compiled by the testsuite when it fails. Search for the name of the test, and note that each test is compiled several different times with different options. Presumably the testsuite is failing when using some combination of options which you are not using. Ian