http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54959
--- Comment #2 from Dave Malcolm <dmalcolm at redhat dot com> 2012-10-17 20:00:05 UTC --- The impl_gate is implemented in C, the gate functions in Python. If I need multiple impl_gate functions, I somehow need to generate machine code at runtime that curry the relevant arguments. I guess I could use libffi to do this, perhaps, but it seems ugly and fragile.