This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]