This is the mail archive of the gcc@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: C++ comp_cdtor FUNCTION_DECL tree nodes with DECL_LANG_SPECIFIC but no DECL_CONTEXT: valid or not?


On 11/18/2009 07:59 AM, Dave Korn wrote:
Is it valid for the context to be NULL here?

It doesn't make sense to have a [cd]tor with null DECL_CONTEXT, but dump_function_decl should probably be more resilient, for use during debugging when things may be in an intermediate state.


Jason


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