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] PR c++/33255 - Support -Wunused-local-typedefs warning


On Fri, 29 Jul 2011, Jason Merrill wrote:

> > Looking a bit further, it looks like the C FE uses cfun->language only
> > to store the context of the outer function when faced with a nested
> > function.  This is done by c_push_function_context, called by
> > c_parser_declaration_or_fndef.  Otherwise, cfun->language is not
> > allocated.  Is it appropriate that -Wunused-local-typedefs allocates it
> > as well?
> 
> I think so.  Joseph?

Seems reasonable.

-- 
Joseph S. Myers
joseph@codesourcery.com


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