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: Gabriel Dos Reis <gdr at codesourcery dot com>
- To: paolo at gcc dot gnu dot org
- Cc: carlo at alinoe dot com, gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: 26 May 2002 15:03:01 +0200
- Subject: Re: libstdc++/6811: Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release
- Organization: CodeSourcery, LLC
- References: <20020526085446.18630.qmail@sources.redhat.com>
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.
-- Gaby