This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/21320] New: possible false positives for '$foo may be used uninitialized in this function'
- From: "olh at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2005 16:43:25 -0000
- Subject: [Bug c/21320] New: possible false positives for '$foo may be used uninitialized in this function'
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
this testcase is taken from subversion-1.1.4 subversion/libsvn_delta/svndiff.c
install_gcc40-1/libexec/gcc/powerpc-unknown-linux-gnu/4.0.1/cc1 -fpreprocessed /tmp/t.i -quiet -dumpbase t.c -auxbase-strip t -O2 -Wall -version -o t.s
GNU C version 4.0.1 20050429 (prerelease) (powerpc-unknown-linux-gnu)
compiled by GNU C version 4.0.1 20050429 (prerelease).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
t.c: In function 'svn_txdelta_read_svndiff_window':
t.c:149: warning: 'ninst' may be used uninitialized in this function
--
Summary: possible false positives for '$foo may be used
uninitialized in this function'
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: olh at suse dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-linux
GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21320