Re: [PATCH] avoid ICE when attempting to init a flexible array member (PR c++/79363)

2017-02-15 Thread Jason Merrill
OK. On Mon, Feb 6, 2017 at 9:04 PM, Martin Sebor wrote: > The attached patch avoids another ICE (in addition to the already > fixed bug 72775) in flexible array member NSDMI. To avoid code > duplication and for consistency I factored the diagnostic code > out of perform_member_init and into a ne

Re: [PATCH] avoid ICE when attempting to init a flexible array member (PR c++/79363)

2017-02-10 Thread Martin Sebor
Ping: https://gcc.gnu.org/ml/gcc-patches/2017-02/msg00489.html On 02/06/2017 07:04 PM, Martin Sebor wrote: The attached patch avoids another ICE (in addition to the already fixed bug 72775) in flexible array member NSDMI. To avoid code duplication and for consistency I factored the diagnostic

[PATCH] avoid ICE when attempting to init a flexible array member (PR c++/79363)

2017-02-06 Thread Martin Sebor
The attached patch avoids another ICE (in addition to the already fixed bug 72775) in flexible array member NSDMI. To avoid code duplication and for consistency I factored the diagnostic code out of perform_member_init and into a new helper. Martin PR c++/79363 - ICE with NSDMI and array gcc/cp