$OpenBSD: patch-compile_c,v 1.3 2017/09/16 22:42:37 jeremy Exp $

Disable peephole optimizer on sparc64, since it occasionally segfaults.

Index: compile.c
--- compile.c.orig
+++ compile.c
@@ -2068,6 +2068,9 @@ static int
 iseq_peephole_optimize(rb_iseq_t *iseq, LINK_ELEMENT *list, const int do_tailcallopt)
 {
     INSN *iobj = (INSN *)list;
+#ifdef __sparc64__
+    return COMPILE_OK;
+#endif
   again:
     if (IS_INSN_ID(iobj, jump)) {
 	INSN *niobj, *diobj, *piobj;
