From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19595 invoked by alias); 27 Aug 2009 11:17:53 -0000 Received: (qmail 19515 invoked by uid 48); 27 Aug 2009 11:17:24 -0000 Date: Thu, 27 Aug 2009 11:17:00 -0000 Message-ID: <20090827111724.19514.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/40146] Unexplained "'' is used uninitialized in this function" warning In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "caolanm at redhat 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: 2009-08/txt/msg02159.txt.bz2 ------- Comment #4 from caolanm at redhat dot com 2009-08-27 11:17 ------- Created an attachment (id=18436) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18436&action=view) smaller test-case Here's a smaller one, perturbing nearly any line in this makes the warning go away, various sample lines are commented as such in this 100 line example. Like before... g++ -DTEST -O2 -c -Wall foo.cxx no warnings, while g++ -O2 -c -Wall foo.cxx foo.cxx: In function 'bool demo()': foo.cxx:83: warning: '' is used uninitialized in this function foo.cxx:83: note: '' was declared here -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40146