aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaushik Phatak <kaushik.phatak@kpitcummins.com>2010-02-03 20:18:44 +0000
committerJeff Law <law@gcc.gnu.org>2010-02-03 13:18:44 -0700
commit07738b87c4273fcfd97bf40940fe4f26ea555292 (patch)
treec535b6455524c7079485ca1e09aad2ad4f909b16
parentb7200e3fbe491746297021dc1a29daf55cc2298f (diff)
downloadgcc-07738b87c4273fcfd97bf40940fe4f26ea555292.zip
gcc-07738b87c4273fcfd97bf40940fe4f26ea555292.tar.gz
gcc-07738b87c4273fcfd97bf40940fe4f26ea555292.tar.bz2
h8300.md (can_delay): Fix attibute condition.
* config/h8300/h8300.md (can_delay): Fix attibute condition. From-SVN: r156480
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/h8300/h8300.md4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 74d3210..e1cb410 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-01 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
+
+ * config/h8300/h8300.md (can_delay): Fix attibute condition.
+
2010-02-03 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimizations/42941
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index c05e8c6..5efe2cb 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -1,6 +1,6 @@
;; GCC machine description for Renesas H8/300
;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-;; 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+;; 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010
;; Free Software Foundation, Inc.
;; Contributed by Steve Chamberlain (sac@cygnus.com),
@@ -153,7 +153,7 @@
(define_attr "can_delay" "no,yes"
(cond [(eq_attr "type" "branch,bitbranch,call")
(const_string "no")
- (ne (symbol_ref "get_attr_length (insn)") (const_int 2))
+ (geu (symbol_ref "get_attr_length (insn)") (const_int 2))
(const_string "no")]
(const_string "yes")))