summaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-04-20 02:38:07 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-04-20 02:38:07 +0000
commit3a1fbe3cdd275e84138ceb6b9042bb37b114d2f3 (patch)
treefb43422c5582be69d420aac0020c4af918ec3abd /gcc/genemit.c
parent3fd212794241ed5dcd698cffbac0bca4a2d4c5ab (diff)
downloadgcc-3a1fbe3cdd275e84138ceb6b9042bb37b114d2f3.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@802 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r--gcc/genemit.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c
index f85444da4a4..197356c123c 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -301,12 +301,13 @@ gen_insn (insn)
rtx new = XEXP (XVECEXP (insn, 1, j), 0);
/* OLD and NEW are the same if both are to be a SCRATCH
+ of the same mode,
or if both are registers of the same mode and number. */
- if (! ((GET_CODE (old) == MATCH_SCRATCH
- && GET_CODE (new) == MATCH_SCRATCH)
- || (GET_CODE (old) == REG && GET_CODE (new) == REG
- && GET_MODE (old) == GET_MODE (new)
- && REGNO (old) == REGNO (new))))
+ if (! (GET_MODE (old) == GET_MODE (new)
+ && ((GET_CODE (old) == MATCH_SCRATCH
+ && GET_CODE (new) == MATCH_SCRATCH)
+ || (GET_CODE (old) == REG && GET_CODE (new) == REG
+ && REGNO (old) == REGNO (new)))))
break;
}