Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 96373 Details for
Bug 146817
patches for gcc-4.1.1 to fix visibility-related bugs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
broken of from previous patch in order to apply
99-visibility02.patch (text/plain), 1.45 KB, created by
Jan Jitse Venselaar
on 2006-09-08 03:09:13 UTC
(
hide
)
Description:
broken of from previous patch in order to apply
Filename:
MIME Type:
Creator:
Jan Jitse Venselaar
Created:
2006-09-08 03:09:13 UTC
Size:
1.45 KB
patch
obsolete
>--- gcc/c-pragma.c 2005-07-19 22:19:16.000000000 +0200 >+++ gcc/c-pragma.c 2006-09-06 11:10:12.000000000 +0200 >@@ -635,28 +635,9 @@ > GCC_BAD ("missing %<(%> after %<#pragma GCC visibility push%> - ignored"); > token = c_lex (&x); > if (token != CPP_NAME) >- { >- GCC_BAD ("malformed #pragma GCC visibility push"); >- } >+ GCC_BAD ("malformed #pragma GCC visibility push"); > else >- { >- const char *str = IDENTIFIER_POINTER (x); >- VEC_safe_push (visibility, heap, visstack, >- default_visibility); >- if (!strcmp (str, "default")) >- default_visibility = VISIBILITY_DEFAULT; >- else if (!strcmp (str, "internal")) >- default_visibility = VISIBILITY_INTERNAL; >- else if (!strcmp (str, "hidden")) >- default_visibility = VISIBILITY_HIDDEN; >- else if (!strcmp (str, "protected")) >- default_visibility = VISIBILITY_PROTECTED; >- else >- { >- GCC_BAD ("#pragma GCC visibility push() must specify default, internal, hidden or protected"); >- } >- visibility_options.inpragma = 1; >- } >+ push_visibility (IDENTIFIER_POINTER (x)); > if (c_lex (&x) != CPP_CLOSE_PAREN) > GCC_BAD ("missing %<(%> after %<#pragma GCC visibility push%> - ignored"); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 146817
:
96372
| 96373 |
96374
|
96375