Mercurial > hg > CbC > CbC_gcc
diff gcc/config/moxie/constraints.md @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | 77e2b8dfacca |
children | 84e7813d76e9 |
line wrap: on
line diff
--- a/gcc/config/moxie/constraints.md Sun Aug 21 07:07:55 2011 +0900 +++ b/gcc/config/moxie/constraints.md Fri Oct 27 22:46:09 2017 +0900 @@ -1,5 +1,5 @@ ;; Constraint definitions for Moxie -;; Copyright (C) 2009 Free Software Foundation, Inc. +;; Copyright (C) 2009-2017 Free Software Foundation, Inc. ;; Contributed by Anthony Green <green@moxielogic.com> ;; This file is part of GCC. @@ -32,7 +32,7 @@ (define_constraint "B" "An offset address." (and (match_code "mem") - (match_test "GET_CODE (XEXP (op, 0)) == PLUS"))) + (match_test "moxie_offset_address_p (op)"))) (define_constraint "W" "A register indirect memory operand."