This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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")


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.

//////////////////////

Attachment: CL_84630
Description: Text document

Attachment: patch_84630
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]