serge-sans-paille added a comment.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 does toward 
`-fstrict-flex-arrays=<n>` with

- `n=0` ⇒ `-fno-strict-flex-arrays`, current state (the default)
- `n=1` ⇒ only consider `[ 0]`, `[1}` and `[ ]` as flex array member
- `n=2` ⇒ only consider `[ 0]` and `[ ]` as flex array member
- `n=3` ⇒ only consider `[ ]` as flex array member

I personnally like that approach, and I'd rather land that implementation.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126864/new/

https://reviews.llvm.org/D126864

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to