On Wednesday 18 October 2006 15:45, you wrote: > -fdump-rtl-all-details will give you an idea of how far the compiler > gets, and thus maybe a clue to which pass runs into problems. Also, a > backtrace from the debugger is nice to have.
Here is the backtrace from gdb: Breakpoint 2, rtl_verify_flow_info () at ../../gcc/cfgrtl.c:2065 2065 fatal_insn ("insn outside basic block", x); (gdb) bt #0 rtl_verify_flow_info () at ../../gcc/cfgrtl.c:2065 #1 0x084a92ff in verify_flow_info () at ../../gcc/cfghooks.c:225 #2 0x085a1202 in try_optimize_cfg (mode=0) at ../../gcc/cfgcleanup.c:2147 #3 0x085a1475 in cleanup_cfg (mode=0) at ../../gcc/cfgcleanup.c:2238 #4 0x085a1563 in rest_of_handle_jump2 () at ../../gcc/cfgcleanup.c:2312 #5 0x084b445b in execute_one_pass (pass=0x86a8bc0) at ../../gcc/passes.c:864 #6 0x084b4597 in execute_pass_list (pass=0x86a8bc0) at ../../gcc/passes.c:911 #7 0x084b45b3 in execute_pass_list (pass=0x86a7da0) at ../../gcc/passes.c:912 #8 0x08133773 in tree_rest_of_compilation (fndecl=0xb7d35ee0) at ../../gcc/tree-optimize.c:417 #9 0x0806ac53 in c_expand_body (fndecl=0xb7d35ee0) at ../../gcc/c-decl.c:6757 #10 0x08508900 in cgraph_expand_function (node=0xb7d35f50) at ../../gcc/cgraphunit.c:1230 #11 0x08506151 in cgraph_assemble_pending_functions () at ../../gcc/cgraphunit.c:374 #12 0x085064f5 in cgraph_finalize_function (decl=0xb7d35ee0, nested=0 '\0') at ../../gcc/cgraphunit.c:503 #13 0x0806ab55 in finish_function () at ../../gcc/c-decl.c:6726 #14 0x080dce5a in c_parser_declaration_or_fndef (parser=0xb7d3f000, fndef_ok=1 '\001', empty_ok=1 '\001', nested=0 '\0', start_attr_ok=1 '\001') at ../../gcc/c-parser.c:1435 #15 0x080dc7bb in c_parser_external_declaration (parser=0xb7d3f000) at ../../gcc/c-parser.c:1192 #16 0x080dc4dc in c_parser_translation_unit (parser=0xb7d3f000) at ../../gcc/c-parser.c:1095 #17 0x080ea8d8 in c_parse_file () at ../../gcc/c-parser.c:7853 #18 0x080cea8a in c_common_parse_file (set_yydebug=0) at ../../gcc/c-opts.c:1164 #19 0x08458cca in compile_file () at ../../gcc/toplev.c:999 #20 0x0845a57e in do_compile () at ../../gcc/toplev.c:1972 #21 0x0845a5e0 in toplev_main (argc=2, argv=0xbfd0dc94) at ../../gcc/toplev.c:2004 #22 0x080fb80a in main (argc=2, argv=0xbfd0dc94) at ../../gcc/main.c:35 when I -fdump-rtl-all-details, I get: function8.c.104r.expand function8.c.108r.initvals function8.c.111r.jump function8.c.106r.locators function8.c.105r.sibling function8.c.109r.unshare function8.c.110r.vregs I attached them as a TGZ. Sorry, but i really have no idea where to look anymore. Is there an easier way to get word-addressing for a 16 bit machine? Frank
foo.tgz
Description: application/tgz