This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] Implement DR 1137
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: paolo dot carlini at oracle dot com
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Mon, 22 Feb 2010 10:14:53 -0800 (PST)
- Subject: Re: [v3] Implement DR 1137
> 2010-02-21 Paolo Carlini <paolo.carlini@oracle.com>
>
> * include/std/complex (proj): Change return type per DR 1137.
> (conj): Copy from tr1_impl, likewise adjust return type.
> * include/tr1_impl/complex (conj): Remove.
> * include/tr1/complex (conj): Add both overloads.
> * testsuite/26_numerics/complex/dr781.cc: Rename to...
> * testsuite/26_numerics/complex/dr781_dr1137.cc: ... this, and extend.
>
> * include/tr1_impl/complex (arg): Optimize.
I am not sure if this is a problem with the patch or with ia64 HP-UX but
I am getting a build failure:
/proj/opensrc_nobackup/nightly2/build-ia64-hp-hpux11.23-trunk/obj_gcc/ia64-hp-hpux11.23/libstdc++-v3/include/tr1_impl/complex: In function 'typename __gnu_cxx::__promote<_Tp>::__type std::arg(_Tp)':
/proj/opensrc_nobackup/nightly2/build-ia64-hp-hpux11.23-trunk/obj_gcc/ia64-hp-hpux11.23/libstdc++-v3/include/tr1_impl/complex:314:14: error: 'signbit' is not a member of 'std'
I will try to investigate this and get more details about the failure.
Steve Ellcey
sje@cup.hp.com