32-bit Windows calling conventions, by default, don't pass arguments in registers, but this test expects at least one of them to be.
By adding attribute((regparm(x))) to the functions, we can get the compiler to enregister some of the parameters, and the test passes.
I don't think this should have a negative impact on other platforms, but I haven't tried.