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 #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-10-17 19:48:07 UTC ---
> I have a single impl_gate() handler that's shared by all such user-created
> passes, which I then dispatch to appropriate python code.

I think this is bad coding.  You should have multiple impl_gate's that then get
dispatched to the appropriate python code.


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