public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7862] c++: add comment
@ 2022-03-28 19:36 Jason Merrill
0 siblings, 0 replies; only message in thread
From: Jason Merrill @ 2022-03-28 19:36 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f8093854c78f820a4f0202fd4db7bba0ee0573c8
commit r12-7862-gf8093854c78f820a4f0202fd4db7bba0ee0573c8
Author: Jason Merrill <jason@redhat.com>
Date: Tue Mar 15 16:23:47 2022 -0400
c++: add comment
gcc/cp/ChangeLog:
* pt.cc (determine_specialization): Add comment.
Diff:
---
gcc/cp/pt.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gcc/cp/pt.cc b/gcc/cp/pt.cc
index cd07e48cb5a..ece839c22e3 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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-28 19:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-28 19:36 [gcc r12-7862] c++: add comment Jason Merrill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).