http://llvm.org/bugs/show_bug.cgi?id=8597
Summary: clang doesn't report implicit 64->32 cast as it should
with -Wshorten-64-to-32
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
In the attached test case, when building for i386, the following line doesn't
produce a warning with clang:
return NSMakePoint(v.x/length, v.y/length);
where length is a double.
llvm-gcc-4.2 does warn on this.
--
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