aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-10-21 18:25:32 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-10-21 18:25:32 -0400
commit2fad984b37d66d7d85ffc8ef2d837991f59cc187 (patch)
tree721fce25504a814b9d5e247d9b8d31c7c2d67400
parente081ed261ff60d5da1962fffb9e4a69a4b469d2a (diff)
downloadgcc-2fad984b37d66d7d85ffc8ef2d837991f59cc187.zip
gcc-2fad984b37d66d7d85ffc8ef2d837991f59cc187.tar.gz
gcc-2fad984b37d66d7d85ffc8ef2d837991f59cc187.tar.bz2
(define_delay): Don't accept any instruction for an annulled slot,
only accept those for which in_delay_slot is yes. From-SVN: r10498
-rw-r--r--gcc/config/sh/sh.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 5bb256e..73fc26e 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -198,7 +198,7 @@
(define_delay
(and (eq_attr "type" "cbranch")
(eq_attr "cpu" "sh2,sh3"))
- [(eq_attr "in_delay_slot" "yes") (const_int 1) (nil)])
+ [(eq_attr "in_delay_slot" "yes") (eq_attr "in_delay_slot" "yes") (nil)])
;; -------------------------------------------------------------------------
;; SImode signed integer comparisons