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.