https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103329

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
But, if we avoid that
  /* Mark enumeration types as used.  */
  if (TREE_CODE (decl) == CONST_DECL)
    used_types_insert (DECL_CONTEXT (decl));
during error.c instantiations, will it be actually marked if something later
needs that particular instantiation (I mean, don't we in that case just reuse
what we've instantiated during the error.c instantiations rather than trying to
instantiate it again)?

Reply via email to