Fit testcases to soft-fp targets

Maxim Kuvyrkov maxim@codesourcery.com
Tue Aug 26 16:25:00 GMT 2008


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?


--
Maxim Kuvyrkov
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cf-soft-fp.ChangeLog
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080826/f2a78629/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cf-soft-fp.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080826/f2a78629/attachment-0001.ksh>


More information about the Gcc-patches mailing list