Menu

#3039 [ds390] Internal error on dereference of null pointer

open
nobody
None
other
5
2020-06-09
2020-06-09
No
int f(void)
{
  return *(int *)0;
}

Compiling this with sdcc test.c -mds390 results in Internal error: validateOpType failed in OP_SYMBOL(IC_LEFT (ic)) @ ralloc.c:2602: expected symbol, got value. Tested on commit 11662.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB