From: Jason Merrill Date: Tue, 15 Mar 2022 20:23:47 +0000 (-0400) Subject: c++: add comment X-Git-Tag: basepoints/gcc-13~451 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8093854c78f820a4f0202fd4db7bba0ee0573c8;p=thirdparty%2Fgcc.git c++: add comment gcc/cp/ChangeLog: * pt.cc (determine_specialization): Add comment. --- diff --git a/gcc/cp/pt.cc b/gcc/cp/pt.cc index cd07e48cb5a0..ece839c22e33 100644 --- a/gcc/cp/pt.cc +++ b/gcc/cp/pt.cc @@ -2325,6 +2325,8 @@ determine_specialization (tree template_id, continue; if (freq) { + /* C++20 CA104: Substitute directly into the + constraint-expression. */ tree fargs = DECL_TI_ARGS (fn); tsubst_flags_t complain = tf_none; freq = tsubst_constraint (freq, fargs, complain, fn);