From: aoliva Date: Sat, 13 Jan 2001 03:30:38 +0000 (+0000) Subject: * config/sh/sh.c (mova_p): Fix test for mova_const. X-Git-Tag: upstream/4.9.2~96577 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc115ee8f8bbc2a9f36f7f95abf4430208a0db2b;p=platform%2Fupstream%2Flinaro-gcc.git * config/sh/sh.c (mova_p): Fix test for mova_const. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38974 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fe1a746..cb9b835 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-01-13 Alexandre Oliva + + * config/sh/sh.c (mova_p): Fix test for mova_const. + 2001-01-13 Neil Booth * fix-header.c (read_scan_file): Use cpp_get_callbacks and diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index b73ab59..1526d78 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -2105,7 +2105,7 @@ mova_p (insn) && GET_CODE (SET_SRC (PATTERN (insn))) == UNSPEC && XINT (SET_SRC (PATTERN (insn)), 1) == UNSPEC_MOVA /* Don't match mova_const. */ - && XVECEXP (SET_SRC (PATTERN (insn)), 0, 0) == LABEL_REF); + && GET_CODE (XVECEXP (SET_SRC (PATTERN (insn)), 0, 0)) == LABEL_REF); } /* Find the last barrier from insn FROM which is close enough to hold the