This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC PATCH] Optionally use -mlong-double-128 by default on {powerpc{,64},s390{,x},sparc,alpha}-linux
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: mark at codesourcery dot com, jason at redhat dot com, matz at suse dot de, gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Wed, 1 Feb 2006 11:34:18 -0600
- Subject: Re: [RFC PATCH] Optionally use -mlong-double-128 by default on {powerpc{,64},s390{,x},sparc,alpha}-linux
- References: <20060127165807.GV32233@devserv.devel.redhat.com> <Pine.LNX.4.58.0601311640500.627@wotan.suse.de> <20060131172535.GQ32233@devserv.devel.redhat.com> <43E05F19.4000103@codesourcery.com> <20060201082138.GX32233@devserv.devel.redhat.com>
> If we could use "g" for TFmode long double on the architectures in question
> (powerpc*-*-linux*, sparc{,v7,v8,v9}-*-linux*, s390*-*-linux* and
> alpha*-*-linux*), I'm all for that. It would certainly help a lot for
> coexistence of C++ code with different long doubles in one app
> (of course you still can't call a long double referencing routine/method/etc.
> between differently built objects/libraries, but if C++ library A uses
> TFmode long double internally and not on its public interfaces and
> C++ library B uses DFmode long double internally, things still ought to work
> correctly and when you try to call void foo (long double); between
> differently built objects, you'd even get link time errors).
> And it would certainly simplify the libstdc++ patch a lot as well
> and make it easier to prove that it works correctly with both "e"
> and "g" long double.
I like this idea as well: it would remove some of the fragileness
around the current approach and make the 128 long double uses
unambiguous.
It makes this whole transition much simpler.
-benjamin
- References:
- Re: [RFC PATCH] Optionally use -mlong-double-128 by default on {powerpc{,64},s390{,x},sparc,alpha}-linux
- Re: [RFC PATCH] Optionally use -mlong-double-128 by default on {powerpc{,64},s390{,x},sparc,alpha}-linux