ivmai at mail.ru
Wed May 12 22:16:28 PDT 2010
Thu, 13 May 2010 00:44:09 +0200 Uros Bizjak <ubizjak at gmail.com>:
> As shown in , 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
Partly changed (as these funcs already return 0).
Also moved GC_find_leak initialization from test() (executed in every thread) to main().
And, also, replaced GC_find_leak=1 to GC_set_find_leak(1).
> 2010-05-13 Uros Bizjak <ubizjak at 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.
>  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42811#c16
More information about the Gc