diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-31 14:21:14 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-31 14:21:14 +0000 |
commit | 19f5eed0db5a801848c24b750a0f21158715eae8 (patch) | |
tree | 6347b3e4e4c088f8c6d0c0058426b83102b0b166 /gcc/cp/call.c | |
parent | 6bdf702952fe658d15dd5ec1e5a4de93756eb784 (diff) | |
download | gcc-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.c | 14 |
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 |