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++/22121] New: Suspicious "may be used uninitialized" warning.


Andrew Pinskia asked me to file this.

Warning message:
CommandLine.h: In member function 'bool llvm::cl::opt<DataType, ExternalStorage,:
CommandLine.h:737: warning: 'Val' may be used uninitialized in this function

Compile Command:
g++  -Wall -W -Wwrite-strings -Wno-unused -O3 -DNDEBUG -finline-functions
-felide-constructors -fomit-frame-pointer -c TableGen.ii

Source: TableGen.ii (preprocessed)

-- 
           Summary: Suspicious "may be used uninitialized" warning.
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rspencer at x10sys dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22121


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