http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53433
--- Comment #16 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2012-06-01 13:27:55 UTC --- in case it helps run -fpreprocessed test.i -O2 -o bha.s Starting program: /home/data/newsoft/gcc-build/gcc/cc1 -fpreprocessed test.i -O2 -o bha.s reading VI .tcshrc tty resize: Command not found. test.i:2:1: warning: data definition has no type or storage class [enabled by default] b; ^ d_demangle_callback Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> <visibility> <early_local_cleanups> <whole-program> <profile_estimate> <cp> <inline> <pure-const> <static-var>Assembling functions: d_demangle_callback Breakpoint 1, int_mode_for_mode (mode=VOIDmode) at ../../gcc-trunk/gcc/stor-layout.c:392 392 switch (GET_MODE_CLASS (mode)) (gdb) where #0 int_mode_for_mode (mode=VOIDmode) at ../../gcc-trunk/gcc/stor-layout.c:392 #1 0x0000000000c89832 in emit_move_via_integer (mode=VOIDmode, x=0x7ffff6d30c40, y=0x7ffff6d30ae0, force=Unhandled dwarf expression opcode 0xf3 ) at ../../gcc-trunk/gcc/expr.c:3059 #2 0x000000000079b116 in emit_move_insn_1 (x=0x7ffff6d30c40, y=0x7ffff6d30ae0) at ../../gcc-trunk/gcc/expr.c:3434 #3 0x000000000079b491 in emit_move_insn (x=0x7ffff6d30c40, y=0x7ffff6d30ae0) at ../../gcc-trunk/gcc/expr.c:3497 #4 0x00000000007a764b in copy_to_reg (x=0x7ffff6d30ae0) at ../../gcc-trunk/gcc/explow.c:620 #5 0x0000000000592988 in gen_lowpart_general (mode=QImode, x=Unhandled dwarf expression opcode 0xf3 ) at ../../gcc-trunk/gcc/rtlhooks.c:50 #6 0x0000000000c62f47 in gen_cmpstrnsi (operand0=0x7ffff6d30ae0, operand1=Unhandled dwarf expression opcode 0xf3 ) at ../../gcc-trunk/gcc/config/i386/i386.md:16357 #7 0x000000000059a752 in _ZL22expand_builtin_strncmpP9tree_nodeP7rtx_def12machine_mode.isra.40 (exp=0x7ffff6d2dd20, target=0x7ffff6d309a0) at ../../gcc-trunk/gcc/builtins.c:4083 #8 0x000000000059ccd5 in expand_builtin (exp=0x7ffff6d2dd20, target=Unhandled dwarf expression opcode 0xf3 ) at ../../gcc-trunk/gcc/builtins.c:6252 #9 0x0000000000796a6d in expand_expr_real_1 (exp=0x7ffff6d2dd20, target=<value optimized out>, tmode=SImode, modifier=EXPAND_NORMAL, alt_rtl=0x7fffffffd9c8) at ../../gcc-trunk/gcc/expr.c:10155 #10 0x000000000079a51e in expand_expr_real (exp=0x7ffff6d2dd20, target=Unhandled dwarf expression opcode 0xf3 ) at ../../gcc-trunk/gcc/expr.c:7852 #11 0x000000000057ea62 in store_expr (exp=0x7ffff6d2dd20, target=0x7ffff6d309a0, call_param_p=0, nontemporal=Unhandled dwarf expression opcode 0xf3 ) at ../../gcc-trunk/gcc/expr.c:5162 #12 0x0000000000587f6e in expand_assignment (to=0x7ffff6d2d870, from=0x7ffff6d2dd20, nontemporal=Unhandled dwarf expression opcode 0xf3 ) at ../../gcc-trunk/gcc/expr.c:4948 #13 0x00000000009bbd43 in expand_call_stmt (stmt=0x7ffff6d43690) at ../../gcc-trunk/gcc/cfgexpand.c:2080 #14 expand_gimple_stmt_1 (stmt=0x7ffff6d43690) at ../../gcc-trunk/gcc/cfgexpand.c:2121 #15 expand_gimple_stmt (stmt=0x7ffff6d43690) at ../../gcc-trunk/gcc/cfgexpand.c:2273 #16 0x0000000000b4fea1 in expand_gimple_basic_block (bb=0x7ffff6c0fbd0) at ../../gcc-trunk/gcc/cfgexpand.c:4039 #17 0x00000000008c4464 in gimple_expand_cfg () at ../../gcc-trunk/gcc/cfgexpand.c:4557 #18 0x0000000000bc0225 in execute_one_pass (pass=0x11691c0) at ../../gcc-trunk/gcc/passes.c:2164 #19 0x0000000000bc0715 in execute_pass_list (pass=0x11691c0) at ../../gcc-trunk/gcc/passes.c:2219 #20 0x0000000000bbfb46 in expand_function (node=0x7ffff6c1b750) at ../../gcc-trunk/gcc/cgraphunit.c:1622 #21 0x0000000000d11f6e in expand_all_functions () at ../../gcc-trunk/gcc/cgraphunit.c:1727 #22 compile () at ../../gcc-trunk/gcc/cgraphunit.c:2025 #23 compile () at ../../gcc-trunk/gcc/cgraphunit.c:1949 #24 0x0000000000d12785 in finalize_compilation_unit () at ../../gcc-trunk/gcc/cgraphunit.c:2102 #25 0x0000000000d12928 in c_write_global_declarations () at ../../gcc-trunk/gcc/c-decl.c:10106 #26 c_write_global_declarations () at ../../gcc-trunk/gcc/c-decl.c:10049 #27 0x000000000097ea26 in compile_file (argc=6, argv=0x7fffffffdf58) at ../../gcc-trunk/gcc/toplev.c:566 #28 do_compile (argc=6, argv=0x7fffffffdf58) at ../../gcc-trunk/gcc/toplev.c:1870 #29 toplev_main (argc=6, argv=0x7fffffffdf58) at ../../gcc-trunk/gcc/toplev.c:1946 #30 0x000000371721ecdd in __libc_start_main () from /lib64/libc.so.6 #31 0x00000000004b3f39 in _start () (gdb) s 391 { (gdb) s 392 switch (GET_MODE_CLASS (mode)) (gdb) s 416 if (mode == BLKmode) (gdb) s 390 int_mode_for_mode (enum machine_mode mode) (gdb) s int_mode_for_mode (mode=VOIDmode) at ../../gcc-trunk/gcc/stor-layout.c:423 423 gcc_unreachable (); (gdb) s fancy_abort (file=0xeefc38 "../../gcc-trunk/gcc/stor-layout.c", line=423, function=0xf07160 "int_mode_for_mode") at ../../gcc-trunk/gcc/diagnostic.c:1010 1010 {