1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-21 14:53:53 +03:00
Files
glibc/sysdeps/ieee754/flt-32
Carlos O'Donell f1d7368196 Fix -Os log1p, log1pf build (bug 21314).
As reported in bug 21314, building log1p and log1pf fails with -Os
because of a spurious -Wmaybe-uninitialized warning (reported there
for GCC 5 for MIPS, I see it also with GCC 7 for x86_64).  This patch,
based on the patches in the bug, fixes this using the DIAG_* macros.

Tested for x86_64 with -Os that this eliminates those warnings and so
allows the build to progress further.

2018-02-01  Carlos O'Donell  <carlos@redhat.com>
	    Ramin Seyed-Moussavi  <lordrasmus@gmail.com>
	    Joseph Myers  <joseph@codesourcery.com>

	[BZ #21314]
	* sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
	(__log1p): Disable -Wmaybe-uninitialized for -Os around
	computation using c.
	* sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
	(__log1pf): Disable -Wmaybe-uninitialized for -Os around
	computation using c.
2018-02-01 20:40:48 +00:00
..
2017-09-29 18:54:24 +01:00
2017-09-29 18:54:24 +01:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2015-09-16 21:11:00 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-09-22 20:24:12 +00:00
2017-10-02 14:38:54 +01:00
2017-10-02 14:38:54 +01:00
2017-10-02 14:39:38 +01:00
2017-10-02 14:39:38 +01:00
2017-10-02 14:39:38 +01:00