soft-fp: make extensions quiet signaling NaNs (bug 16041).

This commit is contained in:
Joseph Myers 2013-10-17 12:36:02 +00:00
parent 51ca9e29af
commit e5c2c2d0c0
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2013-10-17 Joseph Myers <joseph@codesourcery.com>
[BZ #16041]
* soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
make result into a quiet NaN.
2013-10-16 Joseph Myers <joseph@codesourcery.com>
* soft-fp/adddf3.c: Fix horizontal whitespace.

2
NEWS
View File

@ -16,7 +16,7 @@ Version 2.19
15857, 15859, 15867, 15886, 15887, 15890, 15892, 15893, 15895, 15897,
15905, 15909, 15919, 15921, 15923, 15939, 15963, 15966, 15988, 16032,
15905, 15909, 15919, 15921, 15923, 15939, 15963, 15966, 15988, 16032,
16034, 16036.
16034, 16036, 16041.
* CVE-2012-4412 The strcoll implementation caches indices and rules for
large collation sequences to optimize multiple passes. This cache

View File

@ -1505,6 +1505,7 @@
FP_SET_EXCEPTION (FP_EX_INVALID); \
_FP_FRAC_SLL_##dwc (D, (_FP_FRACBITS_##dfs \
- _FP_FRACBITS_##sfs)); \
_FP_SETQNAN (dfs, dwc, D); \
} \
} \
} \