Fix bogus test.
authorDavid Given <dg@cowlark.com>
Tue, 5 Jun 2018 00:20:46 +0000 (09:20 +0900)
committerDavid Given <dg@cowlark.com>
Tue, 5 Jun 2018 00:20:46 +0000 (09:20 +0900)
Fixes: #90

util/ego/cs/cs_debug.c

index 3d5509d..8cc626e 100644 (file)
@@ -24,7 +24,7 @@ STATIC void showinstr(line_p lnp)
         * can occur in expressions that are going to be eliminated are
         * properly handled.
         */
-       if (INSTR(lnp) < sp_fmnem && INSTR(lnp) > sp_lmnem) {
+       if (INSTR(lnp) < sp_fmnem || INSTR(lnp) > sp_lmnem) {
                fprintf(stderr,"*** ?\n");
                return;
        }