void baz(int);
int bar(void);
void foo(void)
{
int x;
goto forward;
back:
baz(x);
return;
forward:
x = bar();
goto back;
}
Compiling this with sdcc test.c -mhc08 (or -ms08) yields test.c:15: error 9: FATAL Compiler Internal Error in file 'SDCCBBlock.c' line number '546' : code generator internal error. Tested with commit 11672.
Fixed in revision [r11673]