OK.

On Thu, Jan 18, 2018 at 8:43 AM, Paolo Carlini <paolo.carl...@oracle.com> wrote:
> Hi,
>
> this error recovery regression is caused by my work for c++/70202 back in
> 2016. At the time I remember wondering whether in the easy cases of errors
> right at beginning of xref_basetypes (not those in the loop below handled
> via dropped_base) we really wanted to proceed or immediately bail out, as
> far as error recovery in concerned. This new testcase shows that if we don't
> bail out early we may end up crashing much later, in cgraph.c. Thus the
> straightforward fix below. Tested x86_64-linux.
>
> Thanks, Paolo.
>
> /////////////////////
>

Reply via email to