$OpenBSD: patch-compile_c,v 1.1.1.1 2019/01/14 16:13:05 jeremy Exp $

Disable peephole optimizer on sparc64, since it occasionally segfaults.

Index: compile.c
--- compile.c.orig
+++ compile.c
@@ -2704,6 +2704,10 @@ static int
 iseq_peephole_optimize(rb_iseq_t *iseq, LINK_ELEMENT *list, const int do_tailcallopt)
 {
     INSN *const iobj = (INSN *)list;
+#ifdef __sparc64__
+    return COMPILE_OK;
+#endif
+
 
   again:
     optimize_checktype(iseq, iobj);
