------- Comment #1 from danglin at gcc dot gnu dot org 2006-12-14 23:21 ------- This is the backtrace that creates the insn:
(gdb) bt #0 emit_move_sequence (operands=0xc002d508, mode=SImode, scratch_reg=0x0) at ../../gcc/gcc/config/pa/pa.c:1331 #1 0x002d4fa0 in gen_movsi (operand0=0x400aadf0, operand1=0x400aade0) at ../../gcc/gcc/config/pa/pa.md:2428 #2 0x00246aa4 in emit_move_insn_1 (x=0x400aadf0, y=0x400aade0) at ../../gcc/gcc/expr.c:3090 #3 0x00246fd0 in emit_move_insn (x=0x400aadf0, y=0x400aade0) at ../../gcc/gcc/expr.c:3318 #4 0x0021e214 in copy_to_mode_reg (mode=SImode, x=0x400aade0) at ../../gcc/gcc/explow.c:644 #5 0x002fa0bc in expand_binop (mode=<value optimized out>, binoptab=0x400151e0, op0=0x400aade0, op1=0x4000f260, target=0x400aadc0, unsignedp=0, methods=OPTAB_LIB_WIDEN) at ../../gcc/gcc/optabs.c:1361 #6 0x0023ad30 in expand_expr_real_1 (exp=0x400a9e38, target=0x400aadc0, tmode=SImode, modifier=EXPAND_NORMAL, alt_rtl=0xc002d048) at ../../gcc/gcc/expr.c:8845 #7 0x002467f0 in expand_expr_real (exp=0x400a9e38, target=0x400aade0, tmode=SImode, modifier=1074442600, alt_rtl=0xc002d048) at ../../gcc/gcc/expr.c:6717 #8 0x002366e0 in store_expr (exp=0x400a9e38, target=0x400aadc0, call_param_p=0) at ../../gcc/gcc/expr.c:4371 #9 0x002377fc in expand_assignment (to=0x400a4508, from=0x400a9e38) at ../../gcc/gcc/expr.c:4250 ---Type <return> to continue, or q <return> to quit--- #10 0x0023bb98 in expand_expr_real_1 (exp=0x400a57b0, target=0x0, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../gcc/gcc/expr.c:8620 #11 0x002466d4 in expand_expr_real (exp=0x400a57b0, target=0x400aade0, tmode=VOIDmode, modifier=1074442600, alt_rtl=0x0) at ../../gcc/gcc/expr.c:6711 #12 0x00364ed0 in expand_expr_stmt (exp=0xc002d508) at ../../gcc/gcc/expr.h:496 #13 0x003b2374 in expand_gimple_basic_block (bb=0x400a03f0) at ../../gcc/gcc/cfgexpand.c:1530 #14 0x003b31dc in tree_expand_cfg () at ../../gcc/gcc/cfgexpand.c:1800 #15 0x003ad398 in execute_one_pass (pass=0x5c9424) at ../../gcc/gcc/passes.c:858 #16 0x003ad528 in execute_pass_list (pass=0x5c9424) at ../../gcc/gcc/passes.c:903 #17 0x000c6290 in tree_rest_of_compilation (fndecl=0x400948c0) at ../../gcc/gcc/tree-optimize.c:463 #18 0x0002a4d0 in c_expand_body (fndecl=0xc002d508) at ../../gcc/gcc/c-decl.c:6855 #19 0x003fa850 in cgraph_expand_function (node=0x40013280) at ../../gcc/gcc/cgraphunit.c:1096 #20 0x003fdd28 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1161 #21 0x00033454 in c_write_global_declarations () at ../../gcc/gcc/c-decl.c:7968 #22 0x00370d8c in toplev_main (argc=<value optimized out>, ---Type <return> to continue, or q <return> to quit--- argv=<value optimized out>) at ../../gcc/gcc/toplev.c:1040 #23 0x40721340 in __libc_start_main () from /lib/libc.so.6 #24 0x0001cca8 in _start () at ../sysdeps/hppa/elf/start.S:84 (gdb) frame 8 #8 0x002366e0 in store_expr (exp=0x400a9e38, target=0x400aadc0, call_param_p=0) at ../../gcc/gcc/expr.c:4371 4371 temp = expand_expr_real (exp, target, GET_MODE (target), (gdb) p debug_rtx (target) (mem:SI (plus:SI (const_int 0 [0x0]) (reg/v/f:SI 142 [ q ])) [5 S4 A32]) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30215