From: Florian Krohm Date: Tue, 24 Jun 2014 11:35:45 +0000 (+0000) Subject: Suppress a clang warning about an uninitialised variable. X-Git-Tag: svn/VALGRIND_3_10_0~345 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4923d30572e6e8714216cdccda714d95f79c057;p=thirdparty%2Fvalgrind.git Suppress a clang warning about an uninitialised variable. Fixes BZ #329694. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14092 --- diff --git a/NEWS b/NEWS index f08ef2d301..9df51e9b7d 100644 --- a/NEWS +++ b/NEWS @@ -116,6 +116,7 @@ where XXXXXX is the bug number as listed below. 328711 valgrind.1 manpage "memcheck options" section is badly generated 328878 vex amd64->IR pcmpestri SSE4.2 instruction is unsupported 0x14 329612 Incorrect handling of AT_BASE for image execution +329694 clang warns about using uninitialized variable 329956 valgrind crashes when lmw/stmw instructions are used on ppc64 330228 mmap must align to VKI_SHMLBA on mips32 330257 LLVM does not support `-mno-dynamic-no-pic` option diff --git a/docs/internals/3_9_BUGSTATUS.txt b/docs/internals/3_9_BUGSTATUS.txt index 9ebd0df67f..a3da971ff5 100644 --- a/docs/internals/3_9_BUGSTATUS.txt +++ b/docs/internals/3_9_BUGSTATUS.txt @@ -79,7 +79,6 @@ For bugs reported before this time, see 3_8_BUGSTATUS.txt === Tools/Memcheck ===================================================== 329619 leak-check gets assertion failure when nesting VALGRIND_MALLOCLIKE_BLOCK -329694 clang warns about using uninitialized variable 330617 ppc false positive conditional jump depends on uninitialised value 331833 the memory initialized by semget(key, 0, GETALL, semun) is treated as uninitialized on some platforms diff --git a/memcheck/tests/Makefile.am b/memcheck/tests/Makefile.am index 4e52ee0e97..1dddde37ec 100644 --- a/memcheck/tests/Makefile.am +++ b/memcheck/tests/Makefile.am @@ -443,6 +443,8 @@ origin6_fp_CFLAGS = $(AM_CFLAGS) -O # because then we can't intercept it overlap_CFLAGS = $(AM_CFLAGS) -fno-builtin-memcpy -fno-builtin-strcpy +pdb_realloc_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ + str_tester_CFLAGS = $(AM_CFLAGS) -Wno-shadow supp_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@