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 middle-end/12525] New: [tree-ssa] atomicity.h:50: warning: '__tmp' might be used uninitialized


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


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