summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2002-02-17 07:42:04 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2002-02-17 07:42:04 +0000
commita5404882b2957185044815dc09262a2949740282 (patch)
tree2d24345d98ac0b26c3cc89c0985943c0225c6f6b
parent2e235cfb60464354c962ce59ccad3ad1b681a09b (diff)
Define an epilogue for vax to protect function ends from gcc's
optimizer. Debugging and implementation by bjc@.
-rw-r--r--gnu/egcs/gcc/config/vax/vax.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/config/vax/vax.md b/gnu/egcs/gcc/config/vax/vax.md
index 4ca4668929d..f18df5e722a 100644
--- a/gnu/egcs/gcc/config/vax/vax.md
+++ b/gnu/egcs/gcc/config/vax/vax.md
@@ -1937,9 +1937,14 @@
(define_insn "return"
[(return)]
- ""
+ "reload_completed"
"ret")
+(define_expand "epilogue"
+ [(return)]
+ ""
+ "")
+
(define_insn "nop"
[(const_int 0)]
""