On Thu, Apr 5, 2018 at 8:27 AM, Paolo Carlini <paolo.carl...@oracle.com> wrote: > Hi, > > the main issue is already fixed in trunk but we still ICE on the reduced > testcase attached by Jakub which has a broken std::initializer_list missing > the definition. I think we can handle this case similarly to the existing > check in do_pushtag, which would be also consistent with the plain error we > give for, eg: > > namespace std { template <class> class initializer_list; } > > template class std::initializer_list<int>; > > However, we still have the option of issuing a fatal_error, like we do in > finish_struct.
How about using complete_type_or_maybe_complain instead of a custom error? Jason