kees added a comment.

In D126864#3584536 <https://reviews.llvm.org/D126864#3584536>, 
@serge-sans-paille wrote:

> 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.

Sounds good to me!


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