Re: [PATCH] c++: Comment out announce_function to prevent ICE [PR102426]

2021-10-07 Thread Nick Huang via Gcc-patches
I am terribly sorry for my typo of wrong PR #, it should be 102624. Please ignore this email thread and I resend the patch in next email with correct subject: [PATCH] c++: Comment out announce_function to prevent ICE [PR102624] Once again my apologies for spam. On Fri, Oct 8, 2021 at 12:31 AM qin

[PATCH] c++: Comment out announce_function to prevent ICE [PR102426]

2021-10-07 Thread qingzhe huang via Gcc-patches
This "announce_function" is not a purely readonly function. Instead it calls tsubst which modifies global variable "current_function_decl". If it is placed at parser code directory level, recursion might happen and set/reset variable might interleave and can cause ICE. No test case is provided beca