Re: [PATCH] Add selftest for vec::reverse

2017-12-29 Thread David Malcolm
On Fri, 2017-12-29 at 15:39 +0100, Martin Liška wrote: > On 10/06/2017 06:20 PM, David Malcolm wrote: > > Martin: I noticed that your switch expansion patch added a > > vec::reverse () > > method. Here's a proposed selftest for it, mostly to verify > > that it handles even vs odd lengths (which

Re: [PATCH] Add selftest for vec::reverse

2017-12-29 Thread Martin Liška
On 10/06/2017 06:20 PM, David Malcolm wrote: > Martin: I noticed that your switch expansion patch added a > vec::reverse () > method. Here's a proposed selftest for it, mostly to verify > that it handles even vs odd lengths (which it does). > > Only lightly tested; hope this is useful. > Dave

[PATCH] Add selftest for vec::reverse

2017-10-06 Thread David Malcolm
Martin: I noticed that your switch expansion patch added a vec::reverse () method. Here's a proposed selftest for it, mostly to verify that it handles even vs odd lengths (which it does). Only lightly tested; hope this is useful. Dave gcc/ChangeLog: * vec.c (selftest::test_reverse): Ne