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: fix typo in reload


On 10/22/11 00:43, Mike Stump wrote:
> Index: reload.c
> ===================================================================
> --- reload.c	(revision 180265)
> +++ reload.c	(working copy)
> @@ -7231,7 +7231,7 @@ regno_clobbered_p (unsigned int regno, r
>  	{
>  	  rtx elt = XVECEXP (PATTERN (insn), 0, i);
>  	  if ((GET_CODE (elt) == CLOBBER
> -	       || (sets == 1 && GET_CODE (PATTERN (insn)) == SET))
> +	       || (sets == 1 && GET_CODE (elt) == SET))
>  	      && REG_P (XEXP (elt, 0)))
>  	    {
>  	      unsigned int test = REGNO (XEXP (elt, 0));
> 

Ok.


Bernd


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