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: Don't use pending_sizes list for C


> Following recent discussions of variable_size, this patch stops the C
> front end from using the global pending_sizes list, instead using the
> existing grokdeclarator support for tracking size expressions in the
> one case where pending sizes were still needed.  c_variable_size is
> replaced by a call to save_expr.

Thanks for doing this.

> It way well be possible after this patch to eliminate the pending_sizes list
> and associated functions and the dont_save_pending_sizes_p field, but I
> don't plan to work on that. 

The corresponding patch has been written and tested on top of yours.  The next 
step will be to clean up things related to global_bindings_p.

-- 
Eric Botcazou


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