This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: m68k -mcpu32 current CVS crashes




On Mon, 26 Feb 2001, Jason Duerstock wrote:

> I think I filed a bug report already on this one, check out #2058.


Here is the stimulus, boiled down to a one-line test case:

----start of one-line test case
int f (unsigned int x){  return x/10;}
---end of one-line test case


The test compiler is a cross host=i486-linux target=m68k-coff.
The following gcc snapshots have been tested so far and all of them crash:

20010122
20010115
20001211
20001113
20001016
20000911

It looks like m68k has been broken for a while.  Is it possible that no
one is maintaining it any more?

Here is a typical stack trace:

gdb cc1
run tst.c
Breakpoint 2, fancy_abort (file=0x8239a69 "insn-emit.c", line=3103,
    function=0x8239a54 "gen_umulsi3_highpart")
    at ../ccdir/gcc/diagnostic.c:1767
1767      internal_error ("Internal compiler error in %s, at %s:%d",
#0  fancy_abort (file=0x8239a69 "insn-emit.c", line=3103,
    function=0x8239a54 "gen_umulsi3_highpart")
    at ../ccdir/gcc/diagnostic.c:1767
#1  0x81d2462 in gen_umulsi3_highpart (operand0=0x40198320,
    operand1=0x40198300, operand2=0x4015e680) at insn-emit.c:3103
#2  0x810a218 in expand_binop (mode=SImode, binoptab=0x8286838,
    op0=0x40198300, op1=0x4015e680, target=0x40198320, unsignedp=1,
    methods=OPTAB_DIRECT) at ../ccdir/gcc/optabs.c:753
#3  0x8102d7e in expand_mult_highpart (mode=SImode, op0=0x40198300,
    cnst1=3435973837, target=0x0, unsignedp=1, max_cost=112)
    at ../ccdir/gcc/expmed.c:2822
#4  0x81036df in expand_divmod (rem_flag=1, code=TRUNC_MOD_EXPR,
    mode=SImode,
    op0=0x40198300, op1=0x4014e250, target=0x0, unsignedp=1)
    at ../ccdir/gcc/expmed.c:3238
#5  0x80eed77 in expand_expr (exp=0x401942e0, target=0x0,
    tmode=QImode,
    modifier=EXPAND_NORMAL) at ../ccdir/gcc/expr.c:7705
#6  0x80ec036 in expand_expr (exp=0x40193438, target=0x0,
    tmode=VOIDmode,
    modifier=EXPAND_NORMAL) at ../ccdir/gcc/expr.c:7332
#7  0x80f3fa9 in expand_expr (exp=0x40194380, target=0x401982e0,
    tmode=VOIDmode, modifier=EXPAND_NORMAL) at
    ../ccdir/gcc/expr.c:8720
#8  0x80ebf66 in expand_expr (exp=0x4019344c, target=0x401982e0,
    tmode=QImode,
    modifier=EXPAND_NORMAL) at ../ccdir/gcc/expr.c:7319
#9  0x80e211f in store_expr (exp=0x4019344c, target=0x401982e0,
    want_value=0)
    at ../ccdir/gcc/expr.c:4046






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]