This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: complex.h
Paolo Carlini <paolo.carlini@oracle.com> writes:
> Marc Glisse <marc.glisse@inria.fr> ha scritto:
>
>>To be honest, I only checked the patch on linux/glibc, so there is a
>>real
>>risk on other platforms (which I don't have access to). I also did a
>>quick
>>sanity check on freebsd (not a true test).
>
> Ok, conditioning the small change on glibc would not be a big deal, in
> case. Let's ask Rainer to double check Solaris, anyway.
The testcase from the PR fails on i386-pc-solaris2.11 with g++ 4.7.0,
but works with #undef complex added, for all of -std=c++98/03/11. I
don't have an installed version of mainline, but will keep an eye for
failures during the next round of bootstraps.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University