On Mon, 9 Aug 2021, Uecker, Martin wrote:

> Evaluate arguments of sizeof that are structs of variable size.
> 
> Evaluate arguments of sizeof for all types of variable size
> and not just for VLAs. This fixes some issues related to
> [PR29970] where statement expressions need to be evaluated
> so that the size is well defined.

OK.  It might be a good idea to check if something like this is also 
needed in c_expr_sizeof_type, since that's also using c_vla_type_p at 
present.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to