This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix typo in reload
- From: Bernd Schmidt <bernds at codesourcery dot com>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 25 Oct 2011 17:06:47 +0200
- Subject: Re: fix typo in reload
- References: <F203BADC-5FFF-4E09-BEF5-E44303016BED@comcast.net>
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