[LLVMbugs] [Bug 12552] New: wrong visibility

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 13 14:55:19 PDT 2012


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

             Bug #: 12552
           Summary: wrong visibility
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: rafael.espindola at gmail.com
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


We produce a hidden symbol for

#pragma GCC visibility push(hidden)
struct RECT {
  int top;
};
__attribute__ ((visibility ("default"))) extern RECT data_rect;
RECT data_rect = { -1};

gcc produces a default one.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list