This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/21320] New: possible false positives for '$foo may be used uninitialized in this function'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]