From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1880 invoked by alias); 16 Oct 2008 16:23:41 -0000 Received: (qmail 802 invoked by uid 48); 16 Oct 2008 16:22:20 -0000 Date: Thu, 16 Oct 2008 16:23:00 -0000 Message-ID: <20081016162220.801.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/37854] No error when creating a variable from itself In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paolo dot carlini at oracle dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-10/txt/msg01106.txt.bz2 ------- Comment #3 from paolo dot carlini at oracle dot com 2008-10-16 16:22 ------- In mainline (would be 4.4.0), with -Winit-self a warning is emitted for line 4 only. EDG-based compilers apparently do the same... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37854