[LLVMbugs] [Bug 9250] -Warray-bounds too noisy on dead code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Feb 19 15:06:12 PST 2011


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

Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Chris Lattner <clattner at apple.com> 2011-02-19 17:06:12 CST ---
I agree in some cases, but this is a case that we will never enhance it to
silence. This would require integrating it with real dataflow, which isn't
worth it.  In this case, the code is using a macro, so it can just #if
_NSIG_WORDS != 0
around the code in the default case to silence the warning.

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