This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22121] New: Suspicious "may be used uninitialized" warning.
- From: "rspencer at x10sys dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jun 2005 15:54:55 -0000
- Subject: [Bug c++/22121] New: Suspicious "may be used uninitialized" warning.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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