This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Support nested visibility push


On Thu, Mar 03, 2005 at 12:53:19PM -0500, Daniel Jacobowitz wrote:
> On Thu, Mar 03, 2005 at 09:46:24AM -0800, H. J. Lu wrote:
> > When
> > 
> > #pragma GCC visibility push(default)
> > #pragma GCC visibility pop
> > 
> > are used for header file wrappers, we may have more 16
> > 
> > #pragma GCC visibility push(default)
> > 
> > Currently gcc will fail. This patch tries to support nested visibility
> > push of the same visibility.
> 
> Why not just use a VEC, our convenient pushable data structure?
> 

Isn't VEC too heavy weight for that? Unless we can want to support
unlimited push/pop, I am not sure if it is worth the overhead of VEC.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]