How to define Struct / Array type with runtime invariants like SVE or RVV
Jonathan Wakely
jwakely.gcc@gmail.com
Wed Aug 25 07:27:28 GMT 2021
On Wed, 25 Aug 2021, 07:45 Jojo R wrote:
> Hi,
>
> I want to use struct or array type as container in my project,
>
> but GCC does not support this usage by now because that
>
> the size of these types are decided at compile-time :(
>
> so is there any good solution to fix this ?
>
> or some new feature patches to add supporting for these types with
> computed size at runtime ?
>
Do you mean something like
https://en.m.wikipedia.org/wiki/Flexible_array_member ?
More information about the Gcc
mailing list