From 466c3479a76bc1f1849d700a88445da3e9b7d65a Mon Sep 17 00:00:00 2001 From: kkojima Date: Wed, 19 Oct 2005 12:27:25 +0000 Subject: [PATCH] * config/sh/sh.c (fixup_mova): Skip notes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105612 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/config/sh/sh.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 967ff84..4963ef9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-10-19 Kaz Kojima + + * config/sh/sh.c (fixup_mova): Skip notes. + 2005-10-19 Ulrich Weigand * config/s390/s390-protos.h (s390_hard_regno_rename_ok): Add prototype. diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 3f1132a..3e0caf1 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -3406,7 +3406,8 @@ fixup_mova (rtx mova) gcc_assert (worker && GET_CODE (worker) != CODE_LABEL && GET_CODE (worker) != JUMP_INSN); - } while (recog_memoized (worker) != CODE_FOR_casesi_worker_1); + } while (GET_CODE (worker) == NOTE + || recog_memoized (worker) != CODE_FOR_casesi_worker_1); wpat = PATTERN (worker); wpat0 = XVECEXP (wpat, 0, 0); wpat1 = XVECEXP (wpat, 0, 1); -- 2.7.4