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]

Re: MIPS patch: fix incorrectly inverted branch


On Fri, Jun 22, 2001 at 03:37:42PM +0100, Richard Sandiford wrote:
> ! 	  if (p_invert != NULL)
> ! 	    *p_invert = 0;
> ! 	  else
> ! 	    invert = 0;

Surely this should be

  if (p_invert)
    *p_invert = 0;
  invert = 0;

ie without the else?


r~


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