This is the mail archive of the
gcc-prs@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: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 26 May 2002 13:16:01 -0000
- Subject: Re: libstdc++/6811: Missing 'return *this' in __enc_traits& operator=(const__enc_traits& __obj)' in 3.1 release
- Reply-to: Paolo Carlini <pcarlini at unitus dot it>
The following reply was made to PR libstdc++/6811; it has been noted by GNATS.
From: Paolo Carlini <pcarlini@unitus.it>
To: Gabriel Dos Reis <gdr@codesourcery.com>
Cc: paolo@gcc.gnu.org, carlo@alinoe.com, gcc-bugs@gcc.gnu.org,
gcc-gnats@gcc.gnu.org
Subject: Re: libstdc++/6811: Missing 'return *this' in __enc_traits& operator=(const
__enc_traits& __obj)' in 3.1 release
Date: Sun, 26 May 2002 15:14:06 +0200
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.