Subject: Re: Quad math on sparc64
To: Lloyd Parkes <lloyd@must-have-coffee.gen.nz>
From: James Chacon <jchacon@genuity.net>
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).

James

>
>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
>far.
>
>Cheers,
>Lloyd
>
>/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++/arch/sparc64
>-I/usr/src/gnu/lib/libstdc++/../../dist/toolchain/libio
>-I/usr/src/gnu/lib/libstdc++/../../dist/toolchain/libstdc++
>-I/usr/src/gnu/lib/libstdc++/../../dist/toolchain/libstdc++/stl
>-I/usr/src/gnu/lib/libstdc++/../../dist/toolchain/libstdc++/../libio
>-I/usr/src/gnu/lib/libstdc++/../../dist/toolchain/gcc/cp/inc
>-I/usr/src/gnu/lib/libstdc++/../libiberty
>-I/usr/src/gnu/lib/libstdc++/../../dist/toolchain/include -nostdinc
>-isystem /root/dest/usr/include  -c LDCOMFUNCS.cc
>/usr/src/gnu/lib/libstdc++/../../dist/toolchain/libstdc++/std/complext.cc:
>In function `class complex<long double> & __doadv<long
>double>(complex<long double> *, const complex<long double> &)':
>/usr/src/gnu/lib/libstdc++/../../dist/toolchain/libstdc++/std/ldcomplex.h:46:
> instantiated from here
>/usr/src/gnu/lib/libstdc++/../../dist/toolchain/libstdc++/std/complext.cc:178:
>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
>
>Stop.
>nbmake: stopped in /usr/src/gnu/lib/libstdc++
>*** Error code 1
>
>Stop.
>
>
>
>
>