diff options
author | Joseph Myers <joseph@codesourcery.com> | 2018-02-27 16:54:14 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-02-27 16:55:42 +0000 |
commit | 02f2fead8f702676a4691781432dff2422669dfd (patch) | |
tree | bf4dd6f2e7ac8388b2c0670bd1d708ecfa20c87b /sysdeps/wordsize-32 | |
parent | 874c56d7979858bbb1bb1604c55769ad0ce7a072 (diff) | |
download | glibc-02f2fead8f702676a4691781432dff2422669dfd.tar glibc-02f2fead8f702676a4691781432dff2422669dfd.tar.gz glibc-02f2fead8f702676a4691781432dff2422669dfd.tar.bz2 glibc-02f2fead8f702676a4691781432dff2422669dfd.zip |
Fix two more -Os strcoll / wcscoll build failures.
Continuing fixes for -Os build issues shown with build-many-glibcs.py,
this patch adds uses of DIAG_* to disable -Wmaybe-uninitialized in two
more places where code inlined from strcoll / wcscoll is wrongly
diagnosed as possibly using uninitialized structure fields. (All
these warnings in different places for these functions are I think
essentially the same bug.)
Tested with build-many-glibcs.py for alpha-linux-gnu and
mips-linux-gnu that this fixes the -Os build failures for those
configurations with GCC 7.
* locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
-Os in two more places.
Diffstat (limited to 'sysdeps/wordsize-32')
0 files changed, 0 insertions, 0 deletions