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: New GTY ((atomic)) option


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


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