This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/21314] Compile Error GCC 5.2.0 MIPS with -0s
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 01 Feb 2018 20:41:52 +0000
- Subject: [Bug build/21314] Compile Error GCC 5.2.0 MIPS with -0s
- Auto-submitted: auto-generated
- References: <bug-21314-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21314
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via f1d7368196e27370dcb5dfa3319e102f33b9ad66 (commit)
from 086ee48eaeaba871a2300daf85469671cc14c7e9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f1d7368196e27370dcb5dfa3319e102f33b9ad66
commit f1d7368196e27370dcb5dfa3319e102f33b9ad66
Author: Carlos O'Donell <carlos@redhat.com>
Date: Thu Feb 1 20:40:48 2018 +0000
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.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 12 ++++++++++++
sysdeps/ieee754/dbl-64/s_log1p.c | 12 +++++++++++-
sysdeps/ieee754/flt-32/s_log1pf.c | 17 +++++++++++++++--
3 files changed, 38 insertions(+), 3 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.