This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24488] GCC should warn about poorly implemented copy assignment operators
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2005 22:02:10 -0000
- Subject: [Bug c++/24488] GCC should warn about poorly implemented copy assignment operators
- References: <bug-24488-7341@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-22 22:02 -------
Use -O1 -Wuninitialize and use another.m_flag and you will see that it warns
about that. Copy constructs and copy assignment operators should never be
treated special.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24488