From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17869 invoked by alias); 29 May 2007 12:57:15 -0000 Received: (qmail 17831 invoked by uid 48); 29 May 2007 12:57:06 -0000 Date: Tue, 29 May 2007 12:57:00 -0000 Message-ID: <20070529125706.17830.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/32132] bogus warning at -O3 ( 'r' may be used uninitialized in this function ). In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "manu at gcc dot gnu dot org" 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: 2007-05/txt/msg02608.txt.bz2 ------- Comment #11 from manu at gcc dot gnu dot org 2007-05-29 12:57 ------- (In reply to comment #9) > (In reply to comment #8) > > (In reply to comment #6) > > > > > > so, is it still an invalid testcase? > > > > Does the warning show up with -O1 and -O2 ? > > > > only with -O3. > That is a bug by itself. Using more optimisations could result in some cases clearing out (and thus, less warnings). It should never result in more warnings. -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32132