aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-01-11 11:42:05 +0000
committerNick Clifton <nickc@gcc.gnu.org>2012-01-11 11:42:05 +0000
commit1c97289f9f4b592c877471145993191d0312878d (patch)
tree8ecc190d18fc3920b11466fdbfab311fe9618ca8
parent65d5c485861aebde7d78e1ab60803a8283491d08 (diff)
downloadgcc-1c97289f9f4b592c877471145993191d0312878d.zip
gcc-1c97289f9f4b592c877471145993191d0312878d.tar.gz
gcc-1c97289f9f4b592c877471145993191d0312878d.tar.bz2
* config/rx/rx.md (return): Define pattern.
From-SVN: r183093
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rx/rx.md6
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b685805..5406337 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-11 Nick Clifton <nickc@redhat.com>
+
+ * config/rx/rx.md (return): Define pattern.
+
2012-01-11 Richard Guenther <rguenther@suse.de>
* doc/extend.texi (malloc attribute): Adjust according to
diff --git a/gcc/config/rx/rx.md b/gcc/config/rx/rx.md
index a55b62f..92768c6 100644
--- a/gcc/config/rx/rx.md
+++ b/gcc/config/rx/rx.md
@@ -340,6 +340,12 @@
(set_attr "length" "2")]
)
+(define_expand "return"
+ [(return)]
+ ""
+ "rx_expand_epilogue (false); DONE;"
+)
+
(define_insn "simple_return"
[(return)]
""