https://llvm.org/bugs/show_bug.cgi?id=22899
Davide Italiano <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |FIXED --- Comment #1 from Davide Italiano <[email protected]> --- Can't repro on recent clang, seems fixed. % ./clang conv.c -Wconversion conv.c:3:30: warning: overflow in expression; result is -445703536 with type 'int' [-Winteger-overflow] int a = ((uint16_t)0xE570L * (uint16_t)(-1L)); ^ conv.c:5:26: warning: overflow in expression; result is -445703536 with type 'int' [-Winteger-overflow] b = ((uint16_t)0xE570L * (uint16_t)(-1L)); ^ 2 warnings generated. -- 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
