Re: [PATCH] c++: Fix crash in gimplifier with paren init of aggregates [PR94155]

2020-04-03 Thread Jason Merrill via Gcc-patches
On 3/30/20 4:28 PM, Marek Polacek wrote: Here we crash in the gimplifier because gimplify_init_ctor_eval doesn't expect null indexes for a constructor: /* ??? Here's to hoping the front end fills in all of the indices, so we don't have to figure out what's missing ourselves. */

[PATCH] c++: Fix crash in gimplifier with paren init of aggregates [PR94155]

2020-03-30 Thread Marek Polacek via Gcc-patches
Here we crash in the gimplifier because gimplify_init_ctor_eval doesn't expect null indexes for a constructor: /* ??? Here's to hoping the front end fills in all of the indices, so we don't have to figure out what's missing ourselves. */ gcc_assert (purpose); The indexes wer