-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillallvm-toolsAll llvm tools that do not have corresponding tagAll llvm tools that do not have corresponding tagmiscompilation
Description
Bugzilla Link | 1242 |
Resolution | FIXED |
Resolved on | Feb 22, 2010 12:55 |
Version | trunk |
OS | All |
Attachments | A simple program that produces the bug., Equivalent llvm assembly for struct-size.c |
Reporter | LLVM Bugzilla Contributor |
Extended Description
When emitting llvm code (-emit-llvm), llvm-gcc generates a Target Data Layout of
"e-p:32:32" for x86-pc-linux-gnu. This is insufficient for some programs as the
defaults will use f64:64:64 whereas the correct alignment is f64:32:64. This
causes a problem in accessing fields of structures that use double/long long.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillallvm-toolsAll llvm tools that do not have corresponding tagAll llvm tools that do not have corresponding tagmiscompilation