On Mon, 6 Jul 2026, Martin Uecker wrote: > c: harmonize handling of arrays of zero size > > Use common functions for creating and detecting arrays of zero size. > The function to detect arrays of zero size is changed to also accept > C++ style representation that are somtimes created (at least in > complete_array_type). A future change may switch to only use this > representation. Other code is refactored to use the new helper functions > and to use flexible_array_member_type_p to properly distinguish between > the two cases (instead of checking for TYPE_MAX_VALUE being NULL_TREE). > As part of this, the explict check for complete types is removed from > composite_type_internal, which may be helpful when potentially allowing > arrays with incomplete element type (which also occur already for > built-in va_arg types).
OK. -- Joseph S. Myers [email protected]
