Subject: port-m68k/11195: m68k internal compiler error compiling tcl-8.3.2
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/11/2000 12:03:24
>Number:         11195
>Category:       port-m68k
>Synopsis:       m68k internal compiler error on tcl-8.3.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-m68k-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 11 12:03:00 PDT 2000
>Originator:     Ignatios Souvatzis
>Release:        1.5_ALPHA2
	just a humble port maintainer
System: NetBSD jocelyn 1.5B NetBSD 1.5B (ISDN20) #3: Wed Aug 30 21:28:46 MEST 2000 is@jocelyn:/build2/i4b/ISDN20 amiga

But only the kernel is 1.5B. Base system is 1.5_ALPHA2 as of end-September.
gcc is:

Using builtin specs.
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

Compiling tcl as in the pkg system of today results in an internal compiler
jocelyn tcl !% cd /usr/pkgsrc/net/tcl; make
===> Building for tcl-8.3.2
rm -f .libs/tclExecute.lo
./../generic/tclExecute.c: In function `TclExecuteByteCode':
./../generic/tclExecute.c:2920: internal error--unrecognizable insn:
(insn 8723 11842 8725 (parallel[ 
            (set (reg:SI 1477)
                (div:SI (mem:SI (reg:SI 1952))
                    (mem:SI (reg:SI 1961))))
            (set (reg:SI 1478)
                (mod:SI (mem:SI (reg:SI 1954))
                    (mem:SI (reg:SI 1963))))
        ] ) -1 (insn_list 11824 (insn_list 11827 (insn_list 11839 (insn_list 11842 (nil)))))
    (expr_list:REG_DEAD (reg:SI 1954)
        (expr_list:REG_DEAD (reg:SI 1963)
            (expr_list:REG_DEAD (reg:SI 1952)
                (expr_list:REG_DEAD (reg:SI 1961)
                    (expr_list:REG_UNUSED (reg:SI 1478)
/usr/local/netbsdwork/src/gnu/usr.bin/egcs/common/../../../dist/gcc/toplev.c:1367: Internal compiler error in function fatal_insn
*** Error code 1