[LLVMbugs] [Bug 4799] Missing warning for integer overflows
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Nov 13 07:12:52 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=4799
Douglas Gregor <dgregor at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |dgregor at apple.com
Resolution| |FIXED
--- Comment #1 from Douglas Gregor <dgregor at apple.com> 2010-11-13 09:12:51 CST ---
We have this warning now:
t.c:3:13: warning: implicit conversion from 'unsigned long long' to 'int'
changes value from 4294967296 to 0 [-Wconstant-conversion]
int x = 4294967296ULL;
~ ^~~~~~~~~~~~~
--
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