https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90997
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:da11ffbba8741e085095f49037860de8e8701a1f commit r10-6228-gda11ffbba8741e085095f49037860de8e8701a1f Author: Jason Merrill <ja...@redhat.com> Date: Sun Jan 26 00:25:19 2020 -0500 c++: avoid ICE with __builtin_memset (PR90997). warn_for_memset calls fold_for_warn, which calls fold_non_dependent_expr, so also calling instantiate_non_dependent_expr here is undesirable. PR c++/90997 * semantics.c (finish_call_expr): Don't call instantiate_non_dependent_expr before warn_for_memset.