Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Teaching C. Parent comment
unsigned short *a = 0; ((void (*)(void))a)();
On R8C with the NC30 compiler there are no warnings and the output is:
MOV.W:Q #0H, -2H[FB] MOV.W:G -2H[FB], R0 MOV.W:Q #0H, R2 JSRI.A R2R0
There are no comments on this comment yet.
On R8C with the NC30 compiler there are no warnings and the output is:
It jumps to 0. But on PIC 16 with the XC compiler a warning is emitted warning: (1471) indirect function call via a NULL pointer ignored and the statement is not compiled at all.