Re: [PATCH] avoid user-constructible types in reshape_init_array (PR 90938)

2020-03-04 Thread Jason Merrill
On 3/4/20 4:14 PM, Martin Sebor wrote: On 3/4/20 10:41 AM, Jason Merrill wrote: On 2/14/20 3:06 PM, Martin Sebor wrote: On 2/13/20 3:59 PM, Jason Merrill wrote: On 2/12/20 9:21 PM, Martin Sebor wrote: On 2/11/20 5:28 PM, Jason Merrill wrote: On 2/11/20 9:00 PM, Martin Sebor wrote: r270155,

Re: [PATCH] avoid user-constructible types in reshape_init_array (PR 90938)

2020-03-04 Thread Martin Sebor
On 3/4/20 10:41 AM, Jason Merrill wrote: On 2/14/20 3:06 PM, Martin Sebor wrote: On 2/13/20 3:59 PM, Jason Merrill wrote: On 2/12/20 9:21 PM, Martin Sebor wrote: On 2/11/20 5:28 PM, Jason Merrill wrote: On 2/11/20 9:00 PM, Martin Sebor wrote: r270155, committed in GCC 9, introduced a

Re: [PATCH] avoid user-constructible types in reshape_init_array (PR 90938)

2020-03-04 Thread Jason Merrill
On 2/14/20 3:06 PM, Martin Sebor wrote: On 2/13/20 3:59 PM, Jason Merrill wrote: On 2/12/20 9:21 PM, Martin Sebor wrote: On 2/11/20 5:28 PM, Jason Merrill wrote: On 2/11/20 9:00 PM, Martin Sebor wrote: r270155, committed in GCC 9, introduced a transformation that strips redundant trailing

Re: [PATCH] avoid user-constructible types in reshape_init_array (PR 90938)

2020-02-24 Thread Jason Merrill
On 2/21/20 7:41 PM, Martin Sebor wrote: On 2/17/20 10:54 AM, Jason Merrill wrote: On 2/14/20 9:06 PM, Martin Sebor wrote: On 2/13/20 3:59 PM, Jason Merrill wrote: On 2/12/20 9:21 PM, Martin Sebor wrote: On 2/11/20 5:28 PM, Jason Merrill wrote: On 2/11/20 9:00 PM, Martin Sebor wrote:

Re: [PATCH] avoid user-constructible types in reshape_init_array (PR 90938)

2020-02-21 Thread Martin Sebor
On 2/17/20 10:54 AM, Jason Merrill wrote: On 2/14/20 9:06 PM, Martin Sebor wrote: On 2/13/20 3:59 PM, Jason Merrill wrote: On 2/12/20 9:21 PM, Martin Sebor wrote: On 2/11/20 5:28 PM, Jason Merrill wrote: On 2/11/20 9:00 PM, Martin Sebor wrote: r270155, committed in GCC 9, introduced a

Re: [PATCH] avoid user-constructible types in reshape_init_array (PR 90938)

2020-02-17 Thread Jason Merrill
On 2/14/20 9:06 PM, Martin Sebor wrote: On 2/13/20 3:59 PM, Jason Merrill wrote: On 2/12/20 9:21 PM, Martin Sebor wrote: On 2/11/20 5:28 PM, Jason Merrill wrote: On 2/11/20 9:00 PM, Martin Sebor wrote: r270155, committed in GCC 9, introduced a transformation that strips redundant trailing

Re: [PATCH] avoid user-constructible types in reshape_init_array (PR 90938)

2020-02-14 Thread Martin Sebor
On 2/13/20 3:59 PM, Jason Merrill wrote: On 2/12/20 9:21 PM, Martin Sebor wrote: On 2/11/20 5:28 PM, Jason Merrill wrote: On 2/11/20 9:00 PM, Martin Sebor wrote: r270155, committed in GCC 9, introduced a transformation that strips redundant trailing zero initializers from array initializer

Re: [PATCH] avoid user-constructible types in reshape_init_array (PR 90938)

2020-02-13 Thread Jason Merrill
On 2/12/20 9:21 PM, Martin Sebor wrote: On 2/11/20 5:28 PM, Jason Merrill wrote: On 2/11/20 9:00 PM, Martin Sebor wrote: r270155, committed in GCC 9, introduced a transformation that strips redundant trailing zero initializers from array initializer lists in order to support string literals as

Re: [PATCH] avoid user-constructible types in reshape_init_array (PR 90938)

2020-02-12 Thread Marek Polacek
On Wed, Feb 12, 2020 at 01:21:58PM -0700, Martin Sebor wrote: > On 2/11/20 5:28 PM, Jason Merrill wrote: > > On 2/11/20 9:00 PM, Martin Sebor wrote: > > > r270155, committed in GCC 9, introduced a transformation that strips > > > redundant trailing zero initializers from array initializer lists in

Re: [PATCH] avoid user-constructible types in reshape_init_array (PR 90938)

2020-02-12 Thread Martin Sebor
On 2/11/20 5:28 PM, Jason Merrill wrote: On 2/11/20 9:00 PM, Martin Sebor wrote: r270155, committed in GCC 9, introduced a transformation that strips redundant trailing zero initializers from array initializer lists in order to support string literals as template arguments. The transformation

Re: [PATCH] avoid user-constructible types in reshape_init_array (PR 90938)

2020-02-11 Thread Martin Sebor
On 2/11/20 5:01 PM, Marek Polacek wrote: On Tue, Feb 11, 2020 at 01:00:05PM -0700, Martin Sebor wrote: r270155, committed in GCC 9, introduced a transformation that strips redundant trailing zero initializers from array initializer lists in order to support string literals as template

Re: [PATCH] avoid user-constructible types in reshape_init_array (PR 90938)

2020-02-11 Thread Jason Merrill
On 2/11/20 9:00 PM, Martin Sebor wrote: r270155, committed in GCC 9, introduced a transformation that strips redundant trailing zero initializers from array initializer lists in order to support string literals as template arguments. The transformation neglected to consider the case of array

Re: [PATCH] avoid user-constructible types in reshape_init_array (PR 90938)

2020-02-11 Thread Marek Polacek
On Tue, Feb 11, 2020 at 01:00:05PM -0700, Martin Sebor wrote: > r270155, committed in GCC 9, introduced a transformation that strips > redundant trailing zero initializers from array initializer lists in > order to support string literals as template arguments. > > The transformation neglected to

[PATCH] avoid user-constructible types in reshape_init_array (PR 90938)

2020-02-11 Thread Martin Sebor
r270155, committed in GCC 9, introduced a transformation that strips redundant trailing zero initializers from array initializer lists in order to support string literals as template arguments. The transformation neglected to consider the case of array elements of trivial class types with