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

Gabriel Dos Reis gdr@codesourcery.com
Sun May 26 06:04:00 GMT 2002


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



More information about the Gcc-bugs mailing list