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

Re: RFA: redirect_jump_1: fix REG_EQUAL notes


> And I still disapprove of this idiom:
>
> >  {
> >!   redirect_exp_1 (&XEXP (note, 0), olabel, nlabel, jump);
> >!   apply_change_group ();
> >  }

P.S.: If the unnecessary calls to insn_invalid_p are what you are worried about,
my patch for PR rtl-optimization/20070:
http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01062.html
splits apply_change_group basically into two functions, verify_changes and
confirm_change_group.  With this infrastructure, the call to apply_change_group
above could be replaced with a call to confirm_change_group.


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