Source code:
target memsize 8 byteorder little pointersize 32 wordsize 32;
/* main entry point */ foreign "C" H3(bits32 H4/* parameters *//* parend
*/){
bits32 foo;
foo = 0000000008;
}
Messages:
hend...@lovesong:~/dv/lang/a68h/workspace$ qc-- -globals -o gack2
gack2.c--
This can't happen: bad unsigned integer literal '0000000008'
Fatal error: exception Impossible.Impossible("bad unsigned integer
literal '0000000008'")
hend...@lovesong:~/dv/lang/a68h/workspace$
Well, it can happen -- it's in the source code, and seems to be passed
through without a check until it reaches the "this can't happen" stage.
Fortunately, my workaround is obvious -- I should just stop emitting ten-
digit versions of four-bit values.
-- hendrik
_______________________________________________
Cminusminus mailing list
[email protected]
https://cminusminus.org/mailman/listinfo/cminusminus