summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-08-23 22:41:58 -0700
committerOri Bernstein <ori@eigenstate.org>2017-08-23 22:41:58 -0700
commit4eea6de57c9fce0a69f85270303baae069c3e237 (patch)
treea3f046b86cc29a774e34c35edca0c2c750ec7b70
parent3502c6181eb63893b926c0bb2a20cd4f02ee64b3 (diff)
downloadmc-4eea6de57c9fce0a69f85270303baae069c3e237.tar.gz
Reenable error in dfcheck.c
It's catching a real compiler bug.
-rw-r--r--mi/dfcheck.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/mi/dfcheck.c b/mi/dfcheck.c
index 4ac03de..fc9664c 100644
--- a/mi/dfcheck.c
+++ b/mi/dfcheck.c
@@ -37,13 +37,8 @@ checkundef(Node *n, Reaching *r, Bitset *reach, Bitset *kill)
if (!bshas(reach, r->defs[did][j]))
continue;
def = nodes[r->defs[did][j]];
- if (exprop(def) == Oundef) {
- fprintf(stderr, "%s:%d: ", fname(n->loc), lnum(n->loc));
- fprintf(stderr, "FIXME TEMPORARILY DISABLED: %s used before definition\n", namestr(n->expr.args[0]));
- /*
+ if (exprop(def) == Oundef)
fatal(n, "%s used before definition", namestr(n->expr.args[0]));
- */
- }
}
} else {
switch (exprop(n)) {