[LLVMbugs] [Bug 182] NEW: [llvmgcc] C front-end does not compile "extern inline" into linkonce

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Sun Dec 14 16:06:37 PST 2003


           Summary: [llvmgcc] C front-end does not compile "extern inline"
                    into linkonce
           Product: tools
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: sabre at nondot.org
        ReportedBy: sabre at nondot.org

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


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list