diff options
| author | H.J. Lu <hjl.tools@gmail.com> | 2024-12-14 19:21:15 +0800 |
|---|---|---|
| committer | H.J. Lu <hjl.tools@gmail.com> | 2024-12-18 02:19:58 +0800 |
| commit | 7d889b99c1ec62252d2cb3d89ba2956a2d567928 (patch) | |
| tree | adc179fd56b137112d59e633a57063f64299461e /sysdeps/x86/bits | |
| parent | 080a320914e2026c2d4cfbf91d523b079ae4fc94 (diff) | |
| download | glibc-7d889b99c1ec62252d2cb3d89ba2956a2d567928.tar.xz glibc-7d889b99c1ec62252d2cb3d89ba2956a2d567928.zip | |
Replace copysign (0,-1) with -0.0 in initializer
GCC 4.9 issues an error for copysign in initializer:
In file included from tst-printf-format-p-double.c:20:0:
tst-printf-format-skeleton-double.c:29:3: error: initializer element is not a constant expression [-Werror]
{ -HUGE_VAL, -DBL_MAX, -DBL_MIN, copysign (0, -1), -NAN, NAN, 0, DBL_MIN,
^
since it can't fold "copysign (0, -1)". Replace copysign (0,-1) with -0.0.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/x86/bits')
0 files changed, 0 insertions, 0 deletions
