int f()
{
static const int a;
static const int b;
return a + b;
}
Compiling this with sdcc test.c -mpdk13 outputs this :
Backtrace:
sdcc[0x495b87]
sdcc[0x6f07df]
sdcc[0x6f5c78]
sdcc[0x705956]
sdcc[0x6e63a5]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6edf7b]
sdcc[0x6c9d44]
sdcc[0x42ff0e]
test.c:5: error 9: FATAL Compiler Internal Error in file 'gen.c' line number '261' : code generator internal error
Contact Author with source code
Backtrace:
sdcc[0x495b87]
sdcc[0x6f07df]
sdcc[0x6f55e2]
sdcc[0x705956]
sdcc[0x6e63a5]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6edf7b]
sdcc[0x6c9d44]
sdcc[0x42ff0e]
test.c:5: error 9: FATAL Compiler Internal Error in file 'gen.c' line number '261' : code generator internal error
Contact Author with source code
Backtrace:
sdcc[0x495b87]
sdcc[0x6f07df]
sdcc[0x6f5c78]
sdcc[0x705956]
sdcc[0x6e63a5]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6edf7b]
sdcc[0x6c9d44]
sdcc[0x42ff0e]
test.c:5: error 9: FATAL Compiler Internal Error in file 'gen.c' line number '261' : code generator internal error
Contact Author with source code
Backtrace:
sdcc[0x495b87]
sdcc[0x6f07df]
sdcc[0x6f55e2]
sdcc[0x705956]
sdcc[0x6e63a5]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6edf7b]
sdcc[0x6c9d44]
sdcc[0x42ff0e]
test.c:5: error 9: FATAL Compiler Internal Error in file 'gen.c' line number '261' : code generator internal error
Contact Author with source code
Backtrace:
sdcc[0x495b87]
sdcc[0x6f07df]
sdcc[0x6f5c78]
sdcc[0x705956]
sdcc[0x6e63a5]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6edf7b]
sdcc[0x6c9d44]
sdcc[0x42ff0e]
test.c:5: error 9: FATAL Compiler Internal Error in file 'gen.c' line number '261' : code generator internal error
Contact Author with source code
Backtrace:
sdcc[0x495b87]
sdcc[0x6f07df]
sdcc[0x6f55e2]
sdcc[0x705956]
sdcc[0x6e63a5]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6e74e2]
sdcc[0x6edf7b]
sdcc[0x6c9d44]
sdcc[0x42ff0e]
test.c:5: error 9: FATAL Compiler Internal Error in file 'gen.c' line number '261' : code generator internal error
Contact Author with source code
Backtrace:
sdcc[0x495b87]
sdcc[0x6f07df]
sdcc[0x6f5c78]
sdcc[0x705a96]
sdcc[0x42ff0e]
sdcc[0x447e4c]
sdcc[0x40c13e]
sdcc[0x40837c]
/lib64/libc.so.6(__libc_start_main+0xf2)[0x7ff88c747042]
sdcc[0x409efe]
test.c:5: error 9: FATAL Compiler Internal Error in file 'gen.c' line number '261' : code generator internal error
Contact Author with source code
Backtrace:
sdcc[0x495b87]
sdcc[0x6f07df]
sdcc[0x6f55e2]
sdcc[0x705a96]
sdcc[0x42ff0e]
sdcc[0x447e4c]
sdcc[0x40c13e]
sdcc[0x40837c]
/lib64/libc.so.6(__libc_start_main+0xf2)[0x7ff88c747042]
sdcc[0x409efe]
test.c:5: error 9: FATAL Compiler Internal Error in file 'gen.c' line number '261' : code generator internal error
Contact Author with source code
Tested with commit 11662.
Fixed in [r11701]. But this masked another bug, [#3073] affecting the same code.
Related
Bugs:
#3073