libstdc++/6811: Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release

Paolo Carlini pcarlini@unitus.it
Sun May 26 06:15:00 GMT 2002


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.




More information about the Gcc-bugs mailing list