Bug 150157

Summary: #pragma GCC visibility isn't properly handled for builtin functions
Product: Red Hat Enterprise Linux 4 Reporter: H.J. Lu <hongjiu.lu>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: ilya.konstantinov
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20297
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-29 08:45:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description H.J. Lu 2005-03-03 00:11:39 UTC
When "#pragma GCC visibility push" is used on builtin functions, it may
not be properly handled if "#pragma GCC visibility pop" is missing.
There is a testcase in gcc PR.

Comment 1 Jakub Jelinek 2006-08-29 08:45:36 UTC
Visibility stuff should be fixed in current redhat/gcc-4_1-branch where the
visibility fixes from the trunk have been backported.
This will show up in FC6/RHEL5, for RHEL4 that's too invasive.