shithub: scc

Download patch

ref: a5716dd8a6da6a4222bdee14251299e51a92c293
parent: b68bbbe579e3180a890a0b676f5b08a533a450ae
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Aug 12 19:01:44 EDT 2015

Remove unneded abort()

This abort() was put in negate() to mark internal errors
in the compiler, but this test is not needed anymore.

--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -560,8 +560,6 @@
 	case OGE:  op = OLT;  break;
 	case OLE:  op = OGT;  break;
 	case OGT:  op = OLE;  break;
-	default:
-		abort();
 	}
 	np->op = op;
 	return np;