[LLVMbugs] [Bug 3477] New: On 64-bit platform, clang uses wrong integer types
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Feb 4 08:56:06 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=3477
Summary: On 64-bit platform, clang uses wrong integer types
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: salimma at fedoraproject.org
CC: llvmbugs at cs.uiuc.edu
Compiling on Fedora (Rawhide), x86_64
Using clang revision 63734, with following test code:
int main() {
return 7
}
clang translates int to i64, rather than i32. clang -emit-llvm works, as well
as -emit-llvm-bc, but the generated code cannot be executed (using lli) because
main is expected to be i32, even on x86_64.
An earlier build of clang from a few months ago correctly uses i32 rather than
i64.
--
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