On Thu, 2 Jan 2020 at 15:45, Jakub Jelinek wrote:
> On Thu, Jan 02, 2020 at 03:41:30PM +0100, Christophe Lyon wrote:
> > The new test fails on aarch64:
> > g++.dg/cpp0x/initlist118.C -std=c++14 (internal compiler error)
> > g++.dg/cpp0x/initlist118.C -std=c++14 (test for excess errors)
On Thu, Jan 02, 2020 at 03:41:30PM +0100, Christophe Lyon wrote:
> The new test fails on aarch64:
> g++.dg/cpp0x/initlist118.C -std=c++14 (internal compiler error)
> g++.dg/cpp0x/initlist118.C -std=c++14 (test for excess errors)
> g++.dg/cpp0x/initlist118.C -std=c++17 (internal compi
On Fri, 20 Dec 2019 at 21:28, Marek Polacek wrote:
> In r268428 I changed reshape_init_r in such a way that when it sees
> a nested { } in a CONSTRUCTOR with missing braces, it just returns
> the initializer:
> + else if (COMPOUND_LITERAL_P (stripped_init)
> ...
> + ++d->cur;
> +
On Fri, Dec 20, 2019 at 06:22:10PM -0500, Marek Polacek wrote:
> > > 2019-12-20 Marek Polacek
> > >
> > > PR c++/92745 - bogus error when initializing array of vectors.
> > > * decl.c (reshape_init_r): For a nested compound literal, do
> > > call reshape_init_{class,array,vector}.
> > >
On Fri, Dec 20, 2019, 6:22 PM Marek Polacek wrote:
> On Fri, Dec 20, 2019 at 05:56:39PM -0500, Jason Merrill wrote:
> > On 12/20/19 3:27 PM, Marek Polacek wrote:
> > > In r268428 I changed reshape_init_r in such a way that when it sees
> > > a nested { } in a CONSTRUCTOR with missing braces, it j
On Fri, Dec 20, 2019 at 05:56:39PM -0500, Jason Merrill wrote:
> On 12/20/19 3:27 PM, Marek Polacek wrote:
> > In r268428 I changed reshape_init_r in such a way that when it sees
> > a nested { } in a CONSTRUCTOR with missing braces, it just returns
> > the initializer:
> > + else if (COMPOUND_
On 12/20/19 3:27 PM, Marek Polacek wrote:
In r268428 I changed reshape_init_r in such a way that when it sees
a nested { } in a CONSTRUCTOR with missing braces, it just returns
the initializer:
+ else if (COMPOUND_LITERAL_P (stripped_init)
...
+ ++d->cur;
+ gcc_assert (!BRACE_
On 12/20/19 3:27 PM, Marek Polacek wrote:
In r268428 I changed reshape_init_r in such a way that when it sees
a nested { } in a CONSTRUCTOR with missing braces, it just returns
the initializer:
+ else if (COMPOUND_LITERAL_P (stripped_init)
...
+ ++d->cur;
+ gcc_assert (!BRACE_
In r268428 I changed reshape_init_r in such a way that when it sees
a nested { } in a CONSTRUCTOR with missing braces, it just returns
the initializer:
+ else if (COMPOUND_LITERAL_P (stripped_init)
...
+ ++d->cur;
+ gcc_assert (!BRACE_ENCLOSED_INITIALIZER_P (stripped_init));
+