https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127742
--- Comment #4 from Max Chernoff <git at maxchernoff dot ca> --- I had only tested with v16.2 on my local machine, but it looks like this same issue is also present in the latest version from `trunk` (20261019), as well as all the way back to v15.1: https://godbolt.org/z/Ynd9cMa5W I'm *not* able to reproduce it with any version of clang though, since even after replacing "gnu::counted_by" with "clang::counted_by", it refuses to compile the code with an "initialization of flexible array member is not allowed" error.
