summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-02-27 16:54:14 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-02-27 16:55:42 +0000
commit02f2fead8f702676a4691781432dff2422669dfd (patch)
treebf4dd6f2e7ac8388b2c0670bd1d708ecfa20c87b /include
parent874c56d7979858bbb1bb1604c55769ad0ce7a072 (diff)
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 'include')
0 files changed, 0 insertions, 0 deletions