-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaworksformeResolved as "works for me"Resolved as "works for me"
Description
| Bugzilla Link | 2717 |
| Resolution | WORKSFORME |
| Resolved on | Jul 20, 2009 16:03 |
| Version | unspecified |
| OS | Linux |
| Attachments | code for this PR |
| CC | @efriedma-quic |
Extended Description
Seen using r55218 on Ubuntu Hardy on ia32.
Here's an example where llvm should probably be producing smaller code. Its
output is 700% larger than gcc's.
regehr@john-home:/volatile/tmp11$ llvm-gcc -Os -w small.c -o small ; size/volatile/tmp11$ current-gcc -Os -w small.c -o small ; size
small
text data bss dec hex filename
6324 252 8 6584 19b8 small
regehr@john-home:
small
text data bss dec hex filename
784 252 12 1048 418 small
Looks easy to fix: at -Os the inliner should not be so aggressive.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaworksformeResolved as "works for me"Resolved as "works for me"