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

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

[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