This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/21313] Compile Error GCC 5.4.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: Wed, 07 Feb 2018 13:37:05 +0000
- Subject: [Bug build/21313] Compile Error GCC 5.4.0 MIPS with -0S
- Auto-submitted: auto-generated
- References: <bug-21313-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21313
--- Comment #2 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 ce999220903ae5ad027a2a7df722acaf2cecf4bf (commit)
from b7c83ca30ef8e85b6642151d95600a36535f8d97 (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=ce999220903ae5ad027a2a7df722acaf2cecf4bf
commit ce999220903ae5ad027a2a7df722acaf2cecf4bf
Author: Joseph Myers <joseph@codesourcery.com>
Date: Wed Feb 7 13:36:14 2018 +0000
Fix -Os strcoll, wcscoll, build (bug 21313).
The findidx functions used in implementing strcoll / wcscoll already
use DIAG_IGNORE_Os_NEEDS_COMMENT for spurious -Wmaybe-uninitialized
warnings that appear with -Os. In building with GCC 7 for x86_64 with
-Os, I find there are additional such warnings, for the same structure
elements, which are spurious for the same reasons given in the
existing comments (and this was also reported for MIPS with GCC 5 in
bug 21313). This patch adds corresponding uses of DIAG_* in the
places that get the additional warnings.
Tested for x86_64 with -Os that this eliminates those warnings and so
allows the build to progress further.
[BZ #21313]
* locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
in another place.
* locale/weightwc.h (findidx): Likewise.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
locale/weight.h | 8 ++++++++
locale/weightwc.h | 7 +++++++
3 files changed, 22 insertions(+), 0 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.