* config/sh/sh.c (mova_p): Fix test for mova_const.

From-SVN: r38974
This commit is contained in:
Alexandre Oliva 2001-01-13 03:30:38 +00:00 committed by Alexandre Oliva
parent 24538dcbec
commit 35ef288030
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-01-13 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.c (mova_p): Fix test for mova_const.
2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
* fix-header.c (read_scan_file): Use cpp_get_callbacks and

View File

@ -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