Closed BrunoDutertre closed 2 years ago
Here's a one-line example from rlfsc:
(declare T (! sc (^ (mp_ifneg 10 0 1) 1) type))
On this example, lfscc seg faults.
lfscc
A debugger shows that the problem is at line 476 of check.cpp:
Expr* trm = check(true, progret);
In this call it's possible for progret to be NULL (and computed is NULL by default), but check requires one of them to be non-null.
progret
check
Thanks for pointing this out, I'm working on a fix for this and #60 which is related.
Here's a one-line example from rlfsc:
On this example,
lfscc
seg faults.A debugger shows that the problem is at line 476 of check.cpp:
In this call it's possible for
progret
to be NULL (and computed is NULL by default), butcheck
requires one of them to be non-null.