[PATCH, boehm-gc]: Fix a couple of testcases

Uros Bizjak ubizjak@gmail.com
Wed May 12 22:44:00 GMT 2010


Hello!

As shown in [1], missing return statement in main function triggers a
spurious test failure on alphaev68-pc-linux-gnu.

Attached patch adds missing declarations and return statements where
applicable.

2010-05-13  Uros Bizjak  <ubizjak@gmail.com>

	* tests/leak_test.c (main): Declare as int.  Return 0.
	* tests/thread_leak_test.c (main): Ditto.
	* tests/trace_test.c (main): Ditto.

Tested (only leak test) on alphaev68-pc-linux-gnu.

Patch was committed to SVN gcc under obvious rule.

[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42811#c16

Uros.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gc.diff
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20100512/f05c35d1/attachment.ksh>


More information about the Java-patches mailing list