summaryrefslogtreecommitdiff
path: root/gcc/cp/call.c
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-31 14:21:14 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-31 14:21:14 +0000
commit19f5eed0db5a801848c24b750a0f21158715eae8 (patch)
tree6347b3e4e4c088f8c6d0c0058426b83102b0b166 /gcc/cp/call.c
parent6bdf702952fe658d15dd5ec1e5a4de93756eb784 (diff)
downloadgcc-19f5eed0db5a801848c24b750a0f21158715eae8.tar.gz
doc/
PR c++/18644 * doc/invoke.texi (-Wsynth): Don't document, as it now is void of semantics. cp/ PR c++/18644 * call.c (build_new_op): Remove check for -Wsynth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97318 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/call.c')
-rw-r--r--gcc/cp/call.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index 5737e4fc0a1..131e175631e 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -3750,20 +3750,6 @@ build_new_op (enum tree_code code, int flags, tree arg1, tree arg2, tree arg3,
if (overloaded_p)
*overloaded_p = true;
- if (warn_synth
- && fnname == ansi_assopname (NOP_EXPR)
- && DECL_ARTIFICIAL (cand->fn)
- && candidates->next
- && ! candidates->next->next)
- {
- warning ("using synthesized %q#D for copy assignment",
- cand->fn);
- cp_warning_at (" where cfront would use %q#D",
- cand == candidates
- ? candidates->next->fn
- : candidates->fn);
- }
-
result = build_over_call (cand, LOOKUP_NORMAL);
}
else