This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: New GTY ((atomic)) option
- From: Laurynas Biveinis <laurynas dot biveinis at gmail dot com>
- To: Nicola Pero <nicola dot pero at meta-innovation dot com>
- Cc: Basile Starynkevitch <basile at starynkevitch dot net>, "gcc-patches at gnu dot org" <gcc-patches at gnu dot org>
- Date: Mon, 23 May 2011 05:18:32 +0300
- Subject: Re: Patch: New GTY ((atomic)) option
- References: <1305884833.77163144@www2.webmail.us>
2011/5/20 Nicola Pero <nicola.pero@meta-innovation.com>:
> I'd like to show you a testcase, but, as you discuss in your other email, we can't
> really write GTY testcases at this stage. ÂSo here is a walked tour of how to test
> the new atomic option --
[...]
> To test that the GC marking actually works, I mostly bootstrap the compiler first, then test compiling a few
> testcases using --param ggc-min-expand=0 --param ggc-min-heapsize=0. ÂThis is by no means a full test; if you
> or Laurynas have any suggestions on how to test better, they'd be welcome. :-)
I think this is about the best GTY testing one can do right now. We
ought to have some support in testsuite (not only for plugins, so more
like unit tests), but well, currently we don't.
--
Laurynas