public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/6811: Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release
@ 2002-05-26  6:16 Gabriel Dos Reis
  0 siblings, 0 replies; 5+ messages in thread
From: Gabriel Dos Reis @ 2002-05-26  6:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/6811; it has been noted by GNATS.

From: Gabriel Dos Reis <gdr@codesourcery.com>
To: paolo@gcc.gnu.org
Cc: 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: 26 May 2002 15:03:01 +0200

 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libstdc++/6811: Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release
@ 2002-05-26  8:03 paolo
  0 siblings, 0 replies; 5+ messages in thread
From: paolo @ 2002-05-26  8:03 UTC (permalink / raw)
  To: carlo, gcc-bugs, gcc-prs, nobody, paolo

Synopsis: Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release

Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Sun May 26 07:54:41 2002
Responsible-Changed-Why:
    .
State-Changed-From-To: analyzed->closed
State-Changed-By: paolo
State-Changed-When: Sun May 26 07:54:41 2002
State-Changed-Why:
    Fixed with:
    http://gcc.gnu.org/ml/gcc-patches/2002-05/msg02061.html

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6811


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libstdc++/6811: Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release
@ 2002-05-26  6:56 Paolo Carlini
  0 siblings, 0 replies; 5+ messages in thread
From: Paolo Carlini @ 2002-05-26  6:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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.
 
 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libstdc++/6811: Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release
@ 2002-05-26  2:06 paolo
  0 siblings, 0 replies; 5+ messages in thread
From: paolo @ 2002-05-26  2:06 UTC (permalink / raw)
  To: carlo, gcc-bugs, gcc-prs, nobody

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?
    It would help preparing a testcase for regression testing.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6811


^ permalink raw reply	[flat|nested] 5+ messages in thread

* libstdc++/6811: Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release
@ 2002-05-25  6:16 carlo
  0 siblings, 0 replies; 5+ messages in thread
From: carlo @ 2002-05-25  6:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6811
>Category:       libstdc++
>Synopsis:       Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 25 05:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     carlo@alinoe.com
>Release:        3.1
>Organization:
>Environment:

>Description:
Missing 'return *this'
in
/usr/local/gcc-3.1/include/g++-v3/i686-pc-linux-gnu/bits/codecvt_specializations.h

    __enc_traits&
    operator=(const __enc_traits& __obj)
    {
      strncpy(_M_int_enc, __obj._M_int_enc, _S_max_size);
      strncpy(_M_ext_enc, __obj._M_ext_enc, _S_max_size);
      _M_in_desc = 0;
      _M_out_desc = 0;
      _M_ext_bom = __obj._M_ext_bom;
      _M_int_bom = __obj._M_int_bom;
    }
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-05-26 14:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-26  6:16 libstdc++/6811: Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release Gabriel Dos Reis
  -- strict thread matches above, loose matches on Subject: below --
2002-05-26  8:03 paolo
2002-05-26  6:56 Paolo Carlini
2002-05-26  2:06 paolo
2002-05-25  6:16 carlo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).