Subject: Re: Quad math on sparc64
To: James Chacon <>
From: Lloyd Parkes <>
List: tech-toolchain
Date: 03/23/2002 18:05:46
I applied these patches and the GCC internal error that resulted is
appended. The patches applied without trouble, but the source tree on my
sparc is probably a couple of months old. I'll update my sources and see
what I get, but it took most of the afternoon for the build to get this


/usr/src/tools/obj/tools.NetBSD-1.5ZB-sparc64/bin/sparc64--netbsd-c++ -O
 -Werror -fno-implicit-templates -nostdinc++ -isystem
/root/dest/usr/include/g++  -nostdinc++
-I/usr/src/gnu/lib/libstdc++/../../dist/toolchain/include -nostdinc
-isystem /root/dest/usr/include  -c
In function `class complex<long double> & __doadv<long
double>(complex<long double> *, const complex<long double> &)':
 instantiated from here
internal error--unrecognizable insn:
(insn 67 156 69 (set (reg/v:TF 120)
        (div:TF (mem/s:TF (reg/v:DI 107) 0)
            (mem/s:TF (plus:DI (reg/v:DI 107)
                    (const_int 16 [0x10])) 0))) -1 (nil)
*** Error code 1

nbmake: stopped in /usr/src/gnu/lib/libstdc++
*** Error code 1