This is the mail archive of the gcc-bugs@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]

[Bug plugins/54959] current_pass == NULL during invocation of pass->gate within execute_ipa_summary_passes()


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.


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