Subject: internal error--unrecognizable insn with USE_NEW_TOOLCHAIN on VAX
To: None <current-users@netbsd.org, port-vax@netbsd.org>
From: Olaf Seibert <rhialto@polderland.nl>
List: current-users
Date: 11/04/2001 01:32:41
(maybe this should be on tech-toolchain too, but I don't read that list)

When trying USE_NEW_TOOLCHAIN on the VAX, I get this while compiling the
toolchain:

cc -DHAVE_CONFIG_H -I. -I/home/rhialto/src/tools/toolchain/../../gnu/dist/toolchain/binutils -I. -D_GNU_SOURCE -I. -I/home/rhialto/src/tools/toolchain/../../gnu/dist/toolchain/binutils -I../bfd -I/home/rhialto/src/tools/toolchain/../../gnu/dist/toolchain/binutils/../bfd -I/home/rhialto/src/tools/toolchain/../../gnu/dist/toolchain/binutils/../include  -I/home/rhialto/src/tools/toolchain/../../gnu/dist/toolchain/binutils/../intl -I../intl -DLOCALEDIR="\"/home/rhialto/tools/share/locale\""   -W -Wall -O -c /home/rhialto/src/tools/toolchain/../../gnu/dist/toolchain/binutils/ieee.c
/home/rhialto/src/tools/toolchain/../../gnu/dist/toolchain/binutils/ieee.c: In function `ieee_read_cxx_class':
/home/rhialto/src/tools/toolchain/../../gnu/dist/toolchain/binutils/ieee.c:3230: internal error--unrecognizable insn:
(jump_insn 2236 2474 2237 (set (pc)
        (if_then_else (leu (minus:SI (mem:SI (reg:SI 413))
                    (const_int 98))
                (const_int 24))
            (plus:SI (sign_extend:SI (mem:HI (plus:SI (pc)
                            (mult:SI (minus:SI (mem:SI (reg:SI 411))
                                    (const_int 98))
                                (const_int 2)))))
                (label_ref:SI 2237))
            (pc))) -1 (insn_list 2471 (insn_list 2474 (nil)))
    (expr_list:REG_DEAD (reg:SI 413)
        (expr_list:REG_DEAD (reg:SI 411)
            (nil))))
/u1/bldsrc/gnu/usr.bin/egcs/common/../../../dist/gcc/toplev.c:1369: Internal compiler error in function fatal_insn
*** Error code 1

Stop.
nbmake: stopped in /home/rhialto/obj.vax/tools/toolchain/toolchain/binutils

Ideas for a fix? Probably it is related to the fact that the VAX does
not do IEEE math?

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert - rhialto@polder --Soep van de dag, wat zal dat zijn
\X/ land.nl     --wat kan dat wezen, beter maar het ergste vrezen -Boy Bensdorp