aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-11-25 14:12:48 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2014-11-25 14:20:53 -0800
commitb1eda10e17bf2056ca79a534d92fe0b0b06bd410 (patch)
tree0ae624bdeb264f2a7a11e2fd2266f73acbc56af9 /ChangeLog
parentbde2667a22c355467a4f07246c6d07a9dcc89366 (diff)
downloadglibc-b1eda10e17bf2056ca79a534d92fe0b0b06bd410.zip
glibc-b1eda10e17bf2056ca79a534d92fe0b0b06bd410.tar.gz
glibc-b1eda10e17bf2056ca79a534d92fe0b0b06bd410.tar.bz2
fnmatch: work around GCC compiler warning bug with uninit var
* posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array. This works around a bug with x86-64 GCC 4.9.2 and earlier where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be used uninitialized in this function [-Wmaybe-uninitialized]".
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8ee0650..c020ed4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
+
+ fnmatch: work around GCC compiler warning bug with uninit var
+ * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
+ This works around a bug with x86-64 GCC 4.9.2 and earlier
+ where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
+ "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
+ used uninitialized in this function [-Wmaybe-uninitialized]".
+
2014-11-25 Joseph Myers <joseph@codesourcery.com>
* posix/bug-regex31.c (main): Return RES not 0.