------- Comment #2 from hp at gcc dot gnu dot org  2010-07-20 21:46 -------
(gdb) r -fpreprocessed -march=v32 -O2 libgcc2.i
Starting program: /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/cc1 -fpreprocessed
-march=v32 -O2 libgcc2.i
 __muldc3
Analyzing compilation unit
Performing interprocedural optimizations
 <*free_lang_data> <visibility> <early_local_cleanups> <whole-program>
<ipa-profile> <cp> <inline> <pure-const> <static-var>Assembling functions:
 __muldc3
Program received signal SIGSEGV, Segmentation fault.
0x000000000083d1d5 in reload_combine_recognize_pattern (insn=0x7ffff7d00708)
    at /tmp/hpautotest-gcc1/gcc/gcc/postreload.c:1193
1193                  fixup_debug_insns (reg, reg_sum, insn,
lowest_ruid->insn);
Missing separate debuginfos, use: debuginfo-install
elfutils-libelf-0.145-1.fc12.x86_64 glibc-2.11.1-1.x86_64
(gdb) bt
#0  0x000000000083d1d5 in reload_combine_recognize_pattern
(insn=0x7ffff7d00708)
    at /tmp/hpautotest-gcc1/gcc/gcc/postreload.c:1193
#1  0x000000000083d621 in reload_combine () at
/tmp/hpautotest-gcc1/gcc/gcc/postreload.c:1316
#2  0x000000000083aaac in reload_cse_regs (first=0x7ffff7e29c40) at
/tmp/hpautotest-gcc1/gcc/gcc/postreload.c:72
#3  0x000000000083fb04 in rest_of_handle_postreload () at
/tmp/hpautotest-gcc1/gcc/gcc/postreload.c:2198
#4  0x0000000000835cf6 in execute_one_pass (pass=0x11fc300) at
/tmp/hpautotest-gcc1/gcc/gcc/passes.c:1563
#5  0x0000000000835edf in execute_pass_list (pass=0x11fc300) at
/tmp/hpautotest-gcc1/gcc/gcc/passes.c:1618
#6  0x0000000000835f00 in execute_pass_list (pass=0x11fc1e0) at
/tmp/hpautotest-gcc1/gcc/gcc/passes.c:1619
#7  0x0000000000835f00 in execute_pass_list (pass=0x11fc180) at
/tmp/hpautotest-gcc1/gcc/gcc/passes.c:1619
#8  0x000000000099120e in tree_rest_of_compilation (fndecl=0x7ffff7f88e00)
    at /tmp/hpautotest-gcc1/gcc/gcc/tree-optimize.c:452
#9  0x0000000000bd13ed in cgraph_expand_function (node=0x7ffff7e24000)
    at /tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1629
#10 0x0000000000bd1685 in cgraph_expand_all_functions () at
/tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1708
#11 0x0000000000bd1caa in cgraph_optimize () at
/tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1964
#12 0x0000000000bcf6d5 in cgraph_finalize_compilation_unit () at
/tmp/hpautotest-gcc1/gcc/gcc/cgraphunit.c:1171
#13 0x000000000042f386 in c_write_global_declarations () at
/tmp/hpautotest-gcc1/gcc/gcc/c-decl.c:9698
#14 0x0000000000904501 in compile_file () at
/tmp/hpautotest-gcc1/gcc/gcc/toplev.c:990
#15 0x0000000000906629 in do_compile () at
/tmp/hpautotest-gcc1/gcc/gcc/toplev.c:2333
#16 0x00000000009066f7 in toplev_main (argc=5, argv=0x7fffffffe128) at
/tmp/hpautotest-gcc1/gcc/gcc/toplev.c:2374
#17 0x00000000004da6e0 in main (argc=5, argv=0x7fffffffe128) at
/tmp/hpautotest-gcc1/gcc/gcc/main.c:36
(gdb) p insn
$1 = (rtx) 0x7ffff7d00708
(gdb) pr
(insn 1423 1422 173 5 /tmp/hpautotest-gcc1/gcc/libgcc/../gcc/libgcc2.c:1844
(set (reg:SI 9 r9)
        (plus:SI (reg:SI 9 r9)
            (reg/f:SI 14 sp))) 74 {*addsi3_v32} (expr_list:REG_EQUIV (plus:SI
(reg/f:SI 14 sp)
            (const_int 43 [0x2b]))
        (nil)))
(gdb) l
1188                                               use->ruid,
use->containing_mem);
1189                      if (lowest_ruid == NULL || use->ruid <
lowest_ruid->ruid)
1190                        lowest_ruid = use;
1191                    }
1192
1193                  fixup_debug_insns (reg, reg_sum, insn,
lowest_ruid->insn);
1194
1195                  /* Delete the reg-reg addition.  */
1196                  delete_insn (insn);
1197
(gdb) p lowest_ruid
$2 = (struct reg_use *) 0x0

FWIW, the insn is valid.


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-20 21:46:33
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45009

Reply via email to