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

Chandler Carruth <[email protected]> changed:

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

--- Comment #4 from Chandler Carruth <[email protected]> 2010-09-19 01:44:43 
CDT ---
Sorry about the spam. Bugzilla keeps eating my post. Last try, this time w/o
quoting:

I'm not sure what you're surprised here. The warning from clang is *because*
the argument will always be NULL. From what little I can see, this warning is
working as intended, but of course, since you haven't posted the actual code,
much less a nice reduced test case that shows the problem, I can't really help
much.

>   Any suggestions to squelch the warning??

The warning itself told you: "note: consider using __builtin_trap() or
qualifying pointer with 'volatile'".

If you feel there is actually a bug here, please re-open with a test case and a
specific problem with Clang's behavior when compiling the test case. Currently,
I have no idea what real code led to this warning, or why you feel it was
inappropriate for Clang to warn here.

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