This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Eliminate uses of "sleep" in V3 testsuite


Jonathan Wakely wrote:
On Mon, Jan 03, 2005 at 06:07:13PM -0800, Mark Mitchell wrote:


2005-01-03 Mark Mitchell <mark@codesourcery.com>

	* testsuite/testsuite_hooks.cc: Use __throw_exception_again
	instead of just throw.


"__throw_exception_again;" should be used in place of "throw;" to rethrow
an active exception.  With -fno-exceptions __throw_exception_again is
replaced with an empty string, which is not what's wanted.

I followed existing practice in testsuite_hooks.cc.


For example:

     __throw_exception_again
        environment_variable(string("LC_ALL for ") + string(name));

Are you requesting that I make a change to the new code I added, or to all the code, or just noting this problem? From the subsequent email, it sounds like nobody is expecting me to fix this particuar issue; is that a correct interpretation of the situation? (I am of course planning to deal with the timeout in 9507.cc, however.)

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]