This is the mail archive of the
mailing list for the GCC project.
Re: [PING][PATCH]: Fix struct-reorg testcases for soft-fp targets
- From: Michael Meissner <meissner at linux dot vnet dot ibm dot com>
- To: Maxim Kuvyrkov <maxim at codesourcery dot com>
- Cc: Olga Golovanevsky <olga at il dot ibm dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 18 Nov 2008 17:13:43 -0500
- Subject: Re: [PING][PATCH]: Fix struct-reorg testcases for soft-fp targets
- References: <48B4021E.firstname.lastname@example.org> <email@example.com>
On Tue, Nov 18, 2008 at 10:36:52PM +0100, Maxim Kuvyrkov wrote:
> Maxim Kuvyrkov wrote:
> >A couple of new in GCC 4.3 tests use uninitialized memory as source for
> >FP values. On soft-fp targets this causes the tests to fail because of
> >handling of NaNs.
> >Specifically, the tests use uninitialized fp values to initialize int
> >values; the attached patch reverses that and makes the tests use
> >uninitialized integers to initialize fp values.
> >For reference p[i].a is int and p[i].b is float.
> >OK for trunk and 4.3 branch?
> Original message is at
Depending on the values, it would fail on systems with signaling NaNs as well,
depending on the luck of the draw.
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA