[LLVMbugs] [Bug 2208] New: Compiler warning: control reaches end of non-void function

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Apr 7 23:37:04 PDT 2008


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

           Summary: Compiler warning: control reaches end of non-void
                    function
           Product: libraries
           Version: 2.2
          Platform: Other
        OS/Version: AIX
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Interprocedural Analyses
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: andrew at ishiboo.com
                CC: llvmbugs at cs.uiuc.edu


llvm[3]: Compiling Andersens.cpp for Release build
/llvm-2.2/include/llvm/ADT/SparseBitVector.h: In member function `int
llvm::SparseBitVectorElement<ElementSize>::find_first() const [with unsigned
int ElementSize = 128u]':
/llvm-2.2/include/llvm/ADT/SparseBitVector.h:168: warning: control reaches end
of non-void function

A function with an integer return ends in an assert() with no return value.


-- 
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