On Wed, Aug 8, 2012 at 11:02 AM, nick clifton <ni...@redhat.com> wrote: > Hi Richard, > > >> Err - you are inside the compiler and should not use plugin stuff to >> register your machine dependent pass. > > > Umm, OK, what is the correct method for registering target specific passes ? > (Ones that need to run at times other than TARGET_MACHINE_DEPENDENT_REORG).
Have two machine_reorg passes with different target hooks. Or schedule it twice and have a target hook that specifies at which position it should actually run. Richard. > Cheers > Nick > >