[v3] Fix libstdc++/32422 (+ DR 23)

Andrew Pinski pinskia@gmail.com
Wed Oct 1 22:44:00 GMT 2008


On Mon, Sep 22, 2008 at 5:50 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Hi,
>
> tested x86_64-linux multilib, gnu/generic locale models, committed to
> mainline.

This broke spu-elf because __FLT_HAS_INFINITY__ is not defined there
(float does not have infinities) and there was a missing closing ) for
that case.

Attached is the patch which I am going to apply as obvious after a
build for spu-elf has finished.

Thanks,
Andrew Pinski

ChangeLog:
* config/locale/generic/c_locale.cc (__convert_to_v): Fix
!__FLT_HAS_INFINITY__ case.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixspulibstdc++.diff.txt
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20081001/e2642cb2/attachment.txt>


More information about the Libstdc++ mailing list