From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23704 invoked by alias); 31 Jan 2013 18:04:31 -0000 Received: (qmail 22313 invoked by uid 48); 31 Jan 2013 18:03:09 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/51544] uninitialized variable false positive prevents bootstrap with -fipa-cp-clone Date: Thu, 31 Jan 2013 18:04: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: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC 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" Content-Transfer-Encoding: quoted-printable 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: 2013-01/txt/msg02914.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51544 David Binderman changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcb314 at hotmail dot com --- Comment #3 from David Binderman 2013-01-31 = 18:03:04 UTC --- I think I may be seeing something similar. I've been trying to bootstrap using "-g -O3" in BOOT_CFLAGS.=20 That doesn't work, but "-g -O2" of course does. After trying out all the flags individually that make the difference from -O2 to -O3, it is the -fipa-cp-clone flag that is the only one that breaks bootstrap. The rest of=20 the flags are fine. On trunk snapshot of 20130130, I get ../../src/trunk/gcc/c/c-parser.c: In function =E2=80=98c_expr c_parser_postfix_expression_after_primary(c_parser*, location_t, c_expr)=E2= =80=99: ../../src/trunk/gcc/c/c-parser.c:6908:16: error: =E2=80=98origtypes=E2=80= =99 may be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] origtypes); ^ This looks a false positive to me.