This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: PR 19664: Don't change visibility if set by user
On Feb 7, 2005, at 7:43 PM, H. J. Lu wrote:
This patch adds 3 testcases:
1. With visibility push(default)/pop, it should work.
2. Without visibility push(default)/pop, it should fail.
3. Without visibility push(default)/pop + definition in another file,
it should work.
Right now only #2 passes. My patch fixes #1. #3 still doesn't work.
They are based on the testcase for PR 19520.
I should note that this does not work on powerpc-darwin because
-shared is not the correct way to create a dynamic-library.