scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit a5716dd8a6da6a4222bdee14251299e51a92c293
parent b68bbbe579e3180a890a0b676f5b08a533a450ae
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 12 Aug 2015 23:01:44 +0200

Remove unneded abort()

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

Diffstat:
cc1/expr.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

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