diff options
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r-- | gcc/genemit.c | 11 |
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; } |