This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/6811: Missing 'return *this' in __enc_traits& operator=(const__enc_traits& __obj)' in 3.1 release
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Gabriel Dos Reis <gdr at codesourcery dot com>
- Cc: paolo at gcc dot gnu dot org, carlo at alinoe dot com, gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: Sun, 26 May 2002 15:14:06 +0200
- Subject: Re: libstdc++/6811: Missing 'return *this' in __enc_traits& operator=(const__enc_traits& __obj)' in 3.1 release
- References: <20020526085446.18630.qmail@sources.redhat.com> <m3661b2ha2.fsf@merlin.nerim.net>
Gabriel Dos Reis wrote:
>paolo@gcc.gnu.org writes:
>
>| Synopsis: Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release
>|
>| State-Changed-From-To: open->analyzed
>| State-Changed-By: paolo
>| State-Changed-When: Sun May 26 01:54:45 2002
>| State-Changed-Why:
>| Of course, in principle you are 100% right.
>| Perhaps you can provide a code snippet which actually
>| demonstrates the bug?
>
>Hmm, I think it is hard to devise a portable testcase for that. We
>should just recognize we err and apply the correct fix.
>
Ok, I will.
Thanks, Paolo.