This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [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")
- From: Jason Merrill <jason at redhat dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 18 Apr 2018 01:24:58 +0000
- Subject: Re: [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")
- References: <d9fff5b3-59b9-d573-07a6-4935ee42f9e3@oracle.com>
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.
>
> //////////////////////
>
>