Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion failed: (BlockCache.empty()), function synthesize, file ../lib/Infer/ConstantSynthesis.cpp, line 412. #781

Open
regehr opened this issue Jul 1, 2020 · 0 comments

Comments

@regehr
Copy link
Collaborator

regehr commented Jul 1, 2020

this program

int a, b;
void c(d) { printf(d); }
int main(void) {
  a ^ 5;
  if (b)
    printf(a);
  c(a ^ 4095UL);
}

compiled like this:

SOUPER_DISABLE_LLVM_PEEPHOLES=true SOUPER_DOUBLE_CHECK=true SOUPER_ENUMERATIVE_SYNTHESIS_MAX_INSTS=1 SOUPER_NO_EXTERNAL_CACHE=1 ~/souper-regehr/build/sclang -O3 foo.c

gives:

Assertion failed: (BlockCache.empty()), function synthesize, file ../lib/Infer/ConstantSynthesis.cpp, line 412.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant