[LLVMbugs] [Bug 20140] New: failing to unreferenced dllexport static data members

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 26 14:42:34 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20140

            Bug ID: 20140
           Summary: failing to unreferenced dllexport static data members
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hans at chromium.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

For the following code:

  struct __declspec(dllexport) S {
    static const int x = 42;
  };

clang will fail to emit S::x unless its addressed is referenced.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140626/1f8e12eb/attachment.html>


More information about the llvm-bugs mailing list