This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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]

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


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.

Attachment: gc.diff
Description: Text document


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