[C++ Patch] PR 84630 ("[6/7/8 Regression] ICE: TYPE_NAME() used on error_mark_node in tsubst_lambda_expr, at cp/pt.c:17141")
Jason Merrill
jason@redhat.com
Wed Apr 18 01:25:00 GMT 2018
Ok.
On Tue, Apr 17, 2018, 1:59 PM Paolo Carlini <paolo.carlini@oracle.com>
wrote:
> Hi,
>
> this one seems easy: just check the return value of begin_lambda_type
> for error_mark_node - exactly like we do in the parser - and avoid
> ICEing immediately after for the submitted snippet. Tested x86_64-linux.
>
> Thanks, Paolo.
>
> //////////////////////
>
>
More information about the Gcc-patches
mailing list