[LLVMbugs] [Bug 14877] New: Changing unrelated code changes emitted garbage value warning
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jan 9 10:06:45 PST 2013
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: kremenek at apple.com
ReportedBy: tjw at me.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list