|
|
| Bugzilla Link |
182 |
| Resolution |
FIXED |
| Resolved on |
Mar 06, 2010 14:00 |
| Version |
1.0 |
| OS |
All |
| Blocks |
llvm/llvm-bugzilla-archive#202 |
Extended Description
llvmgcc currently compiles "extern inline" functions into "weak" linkage,
instead of linkonce linkage, preventing the optimizer from deleting the bodies
of unreferenced functions.
Testcase here: test/Regression/CFrontend/2003-12-14-ExternInlineSupport.c.tr
Another testcase:
--- test.c
#include <gmp.h>
$ llvmgcc test.c -c -o - | llvm-dis
-Chris