cparser icon indicating copy to clipboard operation
cparser copied to clipboard

cparser aborts on indexing with signed word length max

Open GabrielRavier opened this issue 4 years ago • 0 comments

void f(char *p)
{
  p[-__PTRDIFF_MAX__ - 1];
}

This gives this message :

cparser: ir/tv/tv.c:909: tarval_and: Assertion `b->mode == mode' failed.
Aborted (core dumped)

GabrielRavier avatar Jun 05 '20 06:06 GabrielRavier