[patch committed 4.4] Fix PR target/43417
Kaz Kojima
kkojima@rr.iij4u.or.jp
Mon Mar 22 01:28:00 GMT 2010
Hi,
I've backported the patch below from mainline to fix PR
target/43417. The issue was found on cond-optab branch
and latent on 4.4. Tested on sh4-unknown-linux-gnu.
Applied on 4.4 branch.
Regards,
kaz
--
2010-03-21 Kaz Kojima <kkojima@gcc.gnu.org>
Backport from mainline:
2009-05-12 Paolo Bonzini <bonzini@gnu.org>
PR target/43417
* config/sh/sh.md (cbranchdi4_i): Use an "I08" constraint
instead of "i" constraint.
--- ORIG/gcc-4_4-branch/gcc/config/sh/sh.md 2009-07-15 08:28:20.000000000 +0900
+++ gcc-4_4-branch/gcc/config/sh/sh.md 2010-03-21 15:46:51.000000000 +0900
@@ -1,6 +1,6 @@
;;- Machine description for Renesas / SuperH SH.
;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-;; 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+;; 2003, 2004, 2005, 2006, 2007, 2008, 2010 Free Software Foundation, Inc.
;; Contributed by Steve Chamberlain (sac@cygnus.com).
;; Improved by Jim Wilson (wilson@cygnus.com).
@@ -734,7 +734,7 @@
[(set (pc)
(if_then_else (match_operator 0 "comparison_operator"
[(match_operand:DI 1 "arith_operand" "r,r")
- (match_operand:DI 2 "arith_operand" "rN,i")])
+ (match_operand:DI 2 "arith_operand" "rN,I08")])
(label_ref (match_operand 3 "" ""))
(pc)))
(clobber (match_scratch:SI 4 "=X,&r"))
More information about the Gcc-patches
mailing list