From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21391 invoked by alias); 22 Oct 2005 22:02:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21360 invoked by uid 48); 22 Oct 2005 22:02:10 -0000 Date: Sat, 22 Oct 2005 22:02:00 -0000 Message-ID: <20051022220210.21359.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/24488] GCC should warn about poorly implemented copy assignment operators In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" X-SW-Source: 2005-10/txt/msg02953.txt.bz2 List-Id: ------- 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