public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1392] c++: tweak resolve_args change
@ 2022-07-01 14:55 Jason Merrill
0 siblings, 0 replies; only message in thread
From: Jason Merrill @ 2022-07-01 14:55 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:aefe23f720a542e90ecc6629885b01d44139b043
commit r13-1392-gaefe23f720a542e90ecc6629885b01d44139b043
Author: Jason Merrill <jason@redhat.com>
Date: Fri Jul 1 00:37:10 2022 -0400
c++: tweak resolve_args change
I don't know why I used tf_error instead of complain here.
PR c++/105779
gcc/cp/ChangeLog:
* call.cc (resolve_args): Use complain.
Diff:
---
gcc/cp/call.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/cp/call.cc b/gcc/cp/call.cc
index f1dd8377628..fc98552fda2 100644
--- a/gcc/cp/call.cc
+++ b/gcc/cp/call.cc
@@ -4675,7 +4675,7 @@ resolve_args (vec<tree, va_gc> *args, tsubst_flags_t complain)
/* Force auto deduction now. Omit tf_warning to avoid redundant
deprecated warning on deprecated-14.C. */
- if (!mark_single_function (arg, tf_error))
+ if (!mark_single_function (arg, complain & ~tf_warning))
return NULL;
}
return args;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-01 14:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-01 14:55 [gcc r13-1392] c++: tweak resolve_args change 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).