Re: [PATCH v2] c++: ICE with auto[] and VLA [PR102414]

2022-01-31 Thread Jason Merrill via Gcc-patches
On 1/28/22 15:49, Marek Polacek wrote: On Thu, Jan 27, 2022 at 10:17:00PM -0500, Jason Merrill wrote: On 1/27/22 20:02, Marek Polacek wrote: @@ -11159,8 +11159,16 @@ create_array_type_for_decl (tree name, tree type, tree size, location_t loc) /* Figure out the index type for the array.

[PATCH v2] c++: ICE with auto[] and VLA [PR102414]

2022-01-28 Thread Marek Polacek via Gcc-patches
On Thu, Jan 27, 2022 at 10:17:00PM -0500, Jason Merrill wrote: > On 1/27/22 20:02, Marek Polacek wrote: > > @@ -11159,8 +11159,16 @@ create_array_type_for_decl (tree name, tree type, > > tree size, location_t loc) > > /* Figure out the index type for the array. */ > > if (size) > > -