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

             Bug #: 14901
           Summary: Non-deterministic diagnostics order for
                    -Wuninitialized
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Non-deterministic diagnostic ordering is obtained when running clang with
-Wuninitialized on the following testcase

$ cat bug.c
void foo(int a) {
   int b, c;
   a = b;
   a = c;
}

$ clang -Wuninitialized -fsyntax-only bug.c 2> diag; md5sum diag
77a113d00be8eae91ea079159fcbeb22  diag
$ clang -Wuninitialized -fsyntax-only bug.c 2> diag; md5sum diag
aebb2b8d1cf3f47e82c8c43634d49bc8  diag

$ clang -v
clang version 3.3 (trunk 172069)
Target: x86_64-unknown-linux-gnu
Thread model: posix

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to