Re: [PATCH, C++] Fix PR c++/88261

2018-12-22 Thread Bernd Edlinger
On 12/21/18 2:03 AM, Martin Sebor wrote: > On 12/20/18 2:07 PM, Bernd Edlinger wrote: >> On 12/20/18 6:50 PM, Martin Sebor wrote: >>> On 12/20/18 10:46 AM, Martin Sebor wrote: On 12/17/18 7:58 AM, Jason Merrill wrote: > On 12/15/18 3:36 AM, Bernd Edlinger wrote: >> this patch implement

Re: [PATCH, C++] Fix PR c++/88261

2018-12-20 Thread Martin Sebor
On 12/20/18 2:07 PM, Bernd Edlinger wrote: On 12/20/18 6:50 PM, Martin Sebor wrote: On 12/20/18 10:46 AM, Martin Sebor wrote: On 12/17/18 7:58 AM, Jason Merrill wrote: On 12/15/18 3:36 AM, Bernd Edlinger wrote: this patch implements an error message, for non-static initialization of a flexib

Re: [PATCH, C++] Fix PR c++/88261

2018-12-20 Thread Bernd Edlinger
On 12/20/18 6:50 PM, Martin Sebor wrote: > On 12/20/18 10:46 AM, Martin Sebor wrote: >> On 12/17/18 7:58 AM, Jason Merrill wrote: >>> On 12/15/18 3:36 AM, Bernd Edlinger wrote: this patch implements an error message, for non-static initialization of a flexible array member. This dup

Re: [PATCH, C++] Fix PR c++/88261

2018-12-20 Thread Martin Sebor
On 12/20/18 10:46 AM, Martin Sebor wrote: On 12/17/18 7:58 AM, Jason Merrill wrote: On 12/15/18 3:36 AM, Bernd Edlinger wrote: this patch implements an error message, for non-static initialization of a flexible array member. This duplicates the existing error message from the C-FE, to avoid IC

Re: [PATCH, C++] Fix PR c++/88261

2018-12-20 Thread Martin Sebor
On 12/17/18 7:58 AM, Jason Merrill wrote: On 12/15/18 3:36 AM, Bernd Edlinger wrote: this patch implements an error message, for non-static initialization of a flexible array member. This duplicates the existing error message from the C-FE, to avoid ICE and wrong code generation issues, as poi

Re: [PATCH, C++] Fix PR c++/88261

2018-12-18 Thread Jason Merrill
On 12/15/18 3:36 AM, Bernd Edlinger wrote: this patch implements an error message, for non-static initialization of a flexible array member. This duplicates the existing error message from the C-FE, to avoid ICE and wrong code generation issues, as pointed out in the PR. It is a bit funny that

Re: [PATCH, C++] Fix PR c++/88261

2018-12-15 Thread Bernd Edlinger
Thanks Jakub, for the additional test cases, they work just fine, so I added them as-is. Bernd. On 12/15/18 10:33 AM, Jakub Jelinek wrote: > On Sat, Dec 15, 2018 at 08:36:25AM +, Bernd Edlinger wrote: >> this patch implements an error message, for non-static initialization of a >> flexibl

Re: [PATCH, C++] Fix PR c++/88261

2018-12-15 Thread Jakub Jelinek
On Sat, Dec 15, 2018 at 08:36:25AM +, Bernd Edlinger wrote: > this patch implements an error message, for non-static initialization of a > flexible array member. > This duplicates the existing error message from the C-FE, to avoid ICE and > wrong code generation > issues, as pointed out in th

[PATCH, C++] Fix PR c++/88261

2018-12-15 Thread Bernd Edlinger
Hi, this patch implements an error message, for non-static initialization of a flexible array member. This duplicates the existing error message from the C-FE, to avoid ICE and wrong code generation issues, as pointed out in the PR. It is a bit funny that a non-functional feature like that has