https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108047
--- Comment #10 from Sergei Trofimovich <slyfox at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #8) > Created attachment 54201 [details] > gcc13-pr108047.patch > > My current understanding is that even if nothing in the initializer is > dependent maybe_init_list_as_range will be called again during instantiation > with > !processing_template_decl and because this is just an optimization, I think > it should be fine to do the optimization only if !processing_template_decl. The patch fixes toml library build for me. Thank you!