[LLVMbugs] [Bug 6616] New: Warnings building LLVM 2.7

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 14 13:39:30 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=6616

           Summary: Warnings building LLVM 2.7
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


On x86-32 linux, with gcc-4.2 (release build):

llvm-2.7/lib/Support/regexec.c: In function 'llvm_regexec':
llvm-2.7/llvm-2.7/lib/Support/regexec.c:158: warning: passing argument 2 of
'smatcher' discards qualifiers from pointer target type
llvm-2.7/lib/Support/regexec.c:160: warning: passing argument 2 of 'lmatcher'
discards qualifiers from pointer target type


llvm-2.7/include/llvm/ADT/ilist.h: In member function 'void
llvm::MSILWriter::printLocalVariables(const llvm::Function&)':
llvm-2.7/include/llvm/ADT/ilist.h:173: warning: 'this.851' is used
uninitialized in this function
llvm-2.7/include/llvm/ADT/ilist.h:173: note: 'this.851' was declared here
llvm-2.7/include/llvm/ADT/ilist.h:173: warning: 'this.851' is used
uninitialized in this function
llvm-2.7/include/llvm/ADT/ilist.h:173: note: 'this.851' was declared here

plus a bunch of variations of this when compiling other files.

As usual, there are also lots of warnings while compiling clang.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list