[LLVMbugs] [Bug 18529] Clang warns unused volatile global variable

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 21 11:52:21 PST 2014


Zhendong Su <su at cs.ucdavis.edu> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #7 from Zhendong Su <su at cs.ucdavis.edu> ---
> Warnings are also not part of the standard, they're best-effort attempts to
> describe potential problems in your program.

But IMHO this doesn't seem like a best-effort attempt for the reported testcase
as it's a very clear unused volatile global variable. It feels more like an
overlooked 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/20140121/d9599b3a/attachment.html>

More information about the llvm-bugs mailing list