[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#633754: gcj-4.6: FTBFS on m68k with segfault



Richard dixit:

>equiv_constant is called with NULL pointer, I would think this is
>illegal and the problem happened one level up :

Probably.

(gdb) frame 1
#1  0x804b0542 in fold_rtx (x=0xc83cb5f4, insn=0xc83cc1c0) at ../../src/gcc/cse.c:3274
3274                const_arg = equiv_constant (folded_arg);
(gdb) list
3269
3270    #ifdef HAVE_cc0
3271              case CC0:
3272                folded_arg = prev_insn_cc0;
3273                mode_arg = prev_insn_cc0_mode;
3274                const_arg = equiv_constant (folded_arg);
3275                break;
3276    #endif
3277
3278              default:
(gdb) print folded_arg
$1 = (rtx) 0x0
(gdb) print prev_insn_cc0
$2 = (rtx) 0x0
(gdb) print prev_insn_cc0_mode
$3 = VOIDmode

Ideas?
//mirabilos
-- 
08:05⎜<XTaran:#grml> mika: Does grml have an tool to read Apple
     ⎜    System Log (asl) files? :)
08:08⎜<ft:#grml> yeah. /bin/rm. ;)       08:09⎜<mrud:#grml> hexdump -C
08:31⎜<XTaran:#grml> ft, mrud: *g*



Reply to: