struct
{
int x : 1;
} c;
void f()
{
c.x ^ -1;
}
When compiling this with sdcc test.c, this results in test.c:8: error 9: FATAL Compiler Internal Error in file 'SDCCsymt.c' line number '2172' : (IS_CHAR (etype1) || IS_BOOLEAN (etype1)) && (IS_CHAR (etype2) || IS_BOOLEAN (etype2)). Tested with commit 11647.
I still see this issue (with slightly different error message) in current SDCC [r13827].
Related
Commit: [r13827]
Fixed in [r13839].
Related
Commit: [r13839]