Subject: Re: Quad math on sparc64
To: Lloyd Parkes <>
From: James Chacon <>
List: tech-toolchain
Date: 03/24/2002 05:19:11
That shouldn't happen with a completely clean build. Did you have a clean
tree or build with update?

(I say this because that error only occurs with -mhard-quad-float which isn't
the default any longer with the patches and I just compiled a complete 
snapshot with the new compiler).


>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)
>    (nil))
>*** Error code 1
>nbmake: stopped in /usr/src/gnu/lib/libstdc++
>*** Error code 1