[PING][PATCH]: Fix struct-reorg testcases for soft-fp targets

Michael Meissner meissner@linux.vnet.ibm.com
Tue Nov 18 22:17:00 GMT 2008


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



More information about the Gcc-patches mailing list