From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29309 invoked by alias); 3 Jan 2012 16:55:12 -0000 Received: (qmail 29299 invoked by uid 22791); 3 Jan 2012 16:55:11 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SARE_HEAD_8BIT_SPAM,SARE_SUB_ENC_UTF8x2 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Jan 2012 16:54:59 +0000 From: "sezeroz at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/50040] [4.5/4.6 Regression] missed warning:=?UTF-8?Q?=20=E2=80=98x?=.=?UTF-8?Q?y=E2=80=99=20is=20used=20uninitialized=20in=20this=20function?= Date: Tue, 03 Jan 2012 16:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: sezeroz at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.5.4 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-01/txt/msg00290.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50040 --- Comment #12 from Ozkan Sezer 2012-01-03 16:54:00 UTC --- (In reply to comment #10) > It's also questionable to cause new warnings to appear on the branch if > you consider code using -Werror. gcc-4.4 used to warn (see bug 50950), therefore if someone's build is using -Werror and added such uninitialized vars to his code _after_ beginning to use gcc >= 4.5, he is not getting the error despite the fact that he wants to.