[LLVMbugs] [Bug 13328] New: g++ propagates visibility from function parameters, we don't

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 11 06:34:07 PDT 2012


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

             Bug #: 13328
           Summary: g++ propagates visibility from function parameters, we
                    don't
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


g++ produces a hidden visibility for foo in:

struct  __attribute__((visibility("hidden"))) zed {};
void foo(zed *x) {
}

-- 
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