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

             Bug #: 14877
           Summary: Changing unrelated code changes emitted garbage value
                    warning
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 9843
  --> http://llvm.org/bugs/attachment.cgi?id=9843
example

See the attached example.

A warning is emitted for method 2. Changing method 1 to use the offending code
from method 2 makes the warning go *away* rather than duplicating it.

Also, the first warning looks bogus (the array should be filled entirely). Not
sure if this is a separate bug since if I just use the _fillValuesBackwards()
function, no warnings are emitted.

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