This is the mail archive of the
gcc-patches@gcc.gnu.org
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.70105@codesourcery.com> <49233574.4080000@codesourcery.com>
On Tue, Nov 18, 2008 at 10:36:52PM +0100, Maxim Kuvyrkov wrote:
> Maxim Kuvyrkov wrote:
> >Hello,
> >
> >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?
>
> Ping.
>
> Original message is at
> http://gcc.gnu.org/ml/gcc-patches/2008-08/msg01935.html
OK.
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
meissner@linux.vnet.ibm.com