projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
re PR c++/64352 (No SFINAE with deleted function)
[gcc.git]
/
gcc
/
cp
/
pt.c
diff --git
a/gcc/cp/pt.c
b/gcc/cp/pt.c
index 9f036846f58c02ce292e738aa5e76a89b46d8b14..2a63a2e1bca05bd38ef9e77e385ef29237262d7b 100644
(file)
--- a/
gcc/cp/pt.c
+++ b/
gcc/cp/pt.c
@@
-15115,7
+15115,7
@@
tsubst_copy_and_build (tree t,
/* Remember that there was a reference to this entity. */
if (DECL_P (function))
- mark_used (function);
+ mark_used (function
, complain
);
/* Put back tf_decltype for the actual call. */
complain |= decltype_flag;