[Bug plugins/54959] current_pass == NULL during invocation of pass->gate within execute_ipa_summary_passes()
dmalcolm at redhat dot com
gcc-bugzilla@gcc.gnu.org
Wed Oct 17 20:00:00 GMT 2012
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.
More information about the Gcc-bugs
mailing list