Hi,
I have the following problem with a back end I've written after the following
changes in the machine header, to tell GCC that the machine is word-addressed
with a word width of 16 Bit:
#define BITS_PER_UNIT 16
#define UNITS_PER_WORD 1
#define BITS_PER_WORD 16
After that, I get the following error, even with simple programs. E.g:
int foo (int i) {
return i;
}
$ gcc-zykluno-none -S -c foo.c
function8.c: In function 'foo':
function8.c:3: error: insn outside basic block
(insn 28 20 29 (set (reg/f:QI 20)
(subreg:QI (reg:HI 18) 0)) 3 {movqi} (nil)
(nil))
function8.c:3: internal compiler error: in rtl_verify_flow_info, at
cfgrtl.c:2065
No code is output at all. I have a custom funtion to output the function
prologue but the compiler does not even get that far to call it.
I have searched through the sources for quite some time but haven't been able
to fix it. Does anyone know a solution or the cause of that error?
I was not sure what other information I should provide. If anything else is
needed to trace this error to its root, please ask.
Frank