This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Never-ending 5.exe in testsuite
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Bradley Lucier <lucier at math dot purdue dot edu>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Sat, 16 Jul 2005 10:36:07 +0200
- Subject: Re: Never-ending 5.exe in testsuite
- References: <b078257caa607fee7b5e0883c462c424@math.purdue.edu>
Hi Bradley,
> any suggestions?
Well, quite a few are trivial, like building and testing outside the
testsuite using low optimization levels, in order to rule out first
miscompilations (on many targets the test is ok, therefore we can't
exclude that). Of course running the testcase under the debugger in
order to nail down the never-ending loop. If really weird things are
going on, you can also strace the process: the trace should also show a
loop of sort. Really, the first thing to do is extracting the testcase
from the testsuite and compiling it stand alone: just change any VERIFY
to assert, include <cassert> instead of <testsuite_hooks.h> and you
should be ready.
Keep me up to date, thanks,
Paolo.