http://llvm.org/bugs/show_bug.cgi?id=3722
Summary: LLVM doesn't store data initialized with zero in BSS
Product: clang
Version: unspecified
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: enhancement
Priority: P2
Component: LLVM Codegen
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=2654)
--> (http://llvm.org/bugs/attachment.cgi?id=2654)
Testcase
The attached application is only 6 KB when compiled with GCC, but 104 KB when
compiled with Clang. This is because the array at the top is initialized with
zeroes. GCC puts it in BSS, while Clang does not.
--
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