[parisc-linux] gcc ICE PR29114 (was: 64-bit long double support.)
Mike Frysinger
vapier at gentoo.org
Fri Nov 17 13:02:48 MST 2006
On Friday 17 November 2006 00:35, John David Anglin wrote:
> Try breaks on emit_move_sequence, emit_insn, emit_insn_after or
> emit_insn_before and see if you can find where the insn is being emitted.
i've attached my gdb run ... i'm not familiar with gcc so i dont know what
more information you need to see to debug
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20061117/f5b76bbf/attachment-0002.pgp
-------------- next part --------------
$ gdb --args gcc/cc1 -fpreprocessed ../seed48_r.i -quiet -dumpbase seed48_r.i -auxbase seed48_r -version -o /tmp/cc9E3kFl.s
Using host libthread_db library "/lib/libthread_db.so.1".
Breakpoint 1 at 0x63ba30: file /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/config/pa/pa.c, line 1309.
Breakpoint 2 at 0x514110: file /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c, line 4432.
Breakpoint 3 at 0x5142a0: file /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c, line 4260.
Breakpoint 4 at 0x514610: file /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c, line 4354.
GNU C version 4.1.2 20061117 (prerelease) (hppa2.0-unknown-linux-gnu)
compiled by GNU C version 4.1.1 (Gentoo 4.1.1-r2).
GGC heuristics: --param ggc-min-expand0 --param ggc-min-heapsize1072
Compiler executable checksum: b8bedf274f6dfa76eb9ded18f00b7b33
Breakpoint 2, emit_insn (x=0x0) at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c:4432
4432 {
(gdb) c
Continuing.
Breakpoint 1, emit_move_sequence (operands=0x7c3908288900, mode=DImode, scratch_reg=0x0)
at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/config/pa/pa.c:1309
1309 {
(gdb)
Continuing.
Breakpoint 1, emit_move_sequence (operands=0x7c3908288730, mode=DImode, scratch_reg=0x0)
at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/config/pa/pa.c:1309
1309 {
(gdb)
Continuing.
Breakpoint 2, emit_insn (x=0x32a3ec6dc740) at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c:4432
4432 {
(gdb)
Continuing.
Breakpoint 1, emit_move_sequence (operands=0x7c3908288590, mode=DImode, scratch_reg=0x0)
at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/config/pa/pa.c:1309
1309 {
(gdb)
Continuing.
Breakpoint 2, emit_insn (x=0x32a3ec6dc7a0) at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c:4432
4432 {
(gdb)
Continuing.
Breakpoint 2, emit_insn (x=0x32a3ec60a2d0) at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c:4432
4432 {
(gdb)
Continuing.
Breakpoint 2, emit_insn (x=0x32a3ec60a280) at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c:4432
4432 {
(gdb)
Continuing.
Breakpoint 2, emit_insn (x=0x32a3ec6dc7e0) at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c:4432
4432 {
(gdb)
Continuing.
Breakpoint 2, emit_insn (x=0x32a3ec60a280) at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c:4432
4432 {
(gdb)
Continuing.
Breakpoint 1, emit_move_sequence (operands=0x7c3908288c70, mode=SImode, scratch_reg=0x0)
at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/config/pa/pa.c:1309
1309 {
(gdb)
Continuing.
Breakpoint 2, emit_insn (x=0x32a3ec6dc800) at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c:4432
4432 {
(gdb)
Continuing.
Breakpoint 2, emit_insn (x=0x32a3ec60a370) at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c:4432
4432 {
(gdb)
Continuing.
Breakpoint 2, emit_insn (x=0x32a3ec625ba0) at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c:4432
4432 {
(gdb)
Continuing.
Breakpoint 2, emit_insn (x=0x32a3ec625bb0) at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c:4432
4432 {
(gdb)
Continuing.
Breakpoint 3, emit_insn_after (pattern=0x32a3ec60a3c0, after=0x32a3ec6e7400)
at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c:4260
4260 if (INSN_P (after))
(gdb)
Continuing.
Breakpoint 2, emit_insn (x=0x32a3ec625bc0) at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c:4432
4432 {
(gdb) bt full
#0 emit_insn (x=0x32a3ec625bc0) at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/emit-rtl.c:4432
last insn #1 0x000000000055d356 in expand_function_end () at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/function.c:4574
value_address type outgoing clobber_after __FUNCTION__ #2 0x000000000061b2dc in tree_expand_cfg () at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/cfgexpand.c:1466
label bb init_block blocks #3 0x0000000000617ac6 in execute_one_pass (pass=0x8ee2e0)
at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/passes.c:827
todo #4 0x0000000000617bbc in execute_pass_list (pass=0x8ee2e0)
at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/passes.c:859
No locals.
#5 0x000000000045cc3a in tree_rest_of_compilation (fndecl=0x32a3ec6de600)
at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/tree-optimize.c:419
e saved_node node __FUNCTION__ #6 0x000000000040a448 in c_expand_body (fndecl=0x32a3ec6de600)
at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/c-decl.c:6689
No locals.
#7 0x0000000000642362 in cgraph_expand_function (node=0x32a3ec6dd580)
at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/cgraphunit.c:1071
decl __FUNCTION__ #8 0x000000000064244f in cgraph_assemble_pending_functions ()
at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/cgraphunit.c:356
output #9 0x00000000006434a7 in cgraph_finalize_function (decl=0x32a3ec6de600, nested=0 '\0')
at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/cgraphunit.c:459
node __FUNCTION__ #10 0x000000000040a87d in finish_function () at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/c-decl.c:6658
fndecl #11 0x000000000044740c in c_parser_declaration_or_fndef (parser=0x32a3ec60a0f0, fndef_ok=1 '\001',
empty_ok=<value optimized out>, nested=0 '\0', start_attr_ok=<value optimized out>)
at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/c-parser.c:1307
declarator dummy fnbody specs prefix_attrs all_prefix_attrs diagnosed_no_specs #12 0x0000000000449987 in c_parse_file () at /usr/local/src/gnu/gcc/branches/gcc-4_1-branch/gcc/c-parser.c:977
__obj ---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) c
Continuing.
../seed48_r.i: In function 'main':
../seed48_r.i:1: error: unrecognizable insn:
(insn 9 8 10 1 (set (reg:DI 95)
(plus:DI (reg:DI 96)
(const_int -6547 [0xffffffffffffe66d]))) -1 (nil)
(expr_list:REG_EQUAL (const_int 25214903917 [0x5deece66d])
(nil)))
../seed48_r.i:1: internal compiler error: in extract_insn, at recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Program exited with code 01.
(gdb)
More information about the parisc-linux
mailing list