[LLVMbugs] [Bug 14901] New: Non-deterministic diagnostics order for -Wuninitialized

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 10 11:28:21 PST 2013


             Bug #: 14901
           Summary: Non-deterministic diagnostics order for
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: zaffanella at cs.unipr.it
                CC: llvmbugs at cs.uiuc.edu
    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.

More information about the llvm-bugs mailing list