[LLVMbugs] [Bug 17526] -Wconditional-uninitialized false positive when usage is correctly constrained by other variable

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 9 15:02:48 PDT 2013


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |WONTFIX

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Yes, -Wconditional-uninitialized has false positives. If you don't want false
positives, don't use it -- use -Wuninitialized instead. This is by design: this
isn't a decidable problem, and we have -Wuninitialized for the
no-false-positives side and -Wconditional-uninitialized for the
no-false-negatives case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131009/0d45a1b4/attachment.html>


More information about the llvm-bugs mailing list