This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/12525] New: [tree-ssa] atomicity.h:50: warning: '__tmp' might be used uninitialized
- From: "gerald at pfeifer dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2003 15:37:24 -0000
- Subject: [Bug middle-end/12525] New: [tree-ssa] atomicity.h:50: warning: '__tmp' might be used uninitialized
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12525
Summary: [tree-ssa] atomicity.h:50: warning: '__tmp' might be
used uninitialized
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gerald at pfeifer dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i386-unknown-freebsd4.8
For the following example
#include <string>
void f() {
std::string auxname = "17";
}
the current tree-ssa branch incorrectly warns for gccvs x.cc -c -O1 -Wall:
/gcc-current/bin/../lib/gcc/i386-unknown-freebsd4.8/3.5-tree-ssa/../../../../include/c++/3.5-tree-ssa/i386-unknown-freebsd4.8/bits/atomicity.h:
In function `void f()':
/.amd_mnt/vexpert/files5/sw/freebsd4/gcc-current/bin/../lib/gcc/i386-unknown-freebsd4.8/3.5-tree-ssa/../../../../include/c++/3.5-tree-ssa/i386-unknown-freebsd4.8/bits/atomicity.h:50:
warning: '__tmp' might be used uninitialized in this function