PATCH: PR middle-end/20303: Can't push more than 16 nested visibility

Nathan Sidwell nathan@codesourcery.com
Wed May 18 16:23:00 GMT 2005


H. J. Lu wrote:
> On Wed, May 18, 2005 at 05:01:20PM +0100, Nathan Sidwell wrote:

>>Can you explain why
>>typedef enum symbol_visibility visibility;
>>DEF_VEC_P (visibility);
>>DEF_VEC_ALLOC_P (visibility, heap);
>>
>>doesn't work?
> 
> 
> gengtype will complain "visibility" is undefined. I can use
ah, what about

	typedef enum symbol_visibility GTY(()) visibility;
and/or does the enum definition require a GTY marker?  Man this gty stuff can 
get annoying.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Gcc-patches mailing list