[LLVMbugs] [Bug 1847] New: clang hangs with -warn-uninit-values

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Dec 9 02:35:38 PST 2007


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

           Summary: clang hangs with -warn-uninit-values
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


$ clang -warn-uninit-values str3.i

... doesn't finish even after minutes ...

$ cat str3.i
char *cli_strrcpy(char *dest, const char *source)
{
    if(!dest || !source) {
        return ((void *)0);
    }
    while((*dest++ = *source++));
    return --dest;
}


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