From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 496EB3857BAF; Fri, 8 Dec 2023 10:32:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 496EB3857BAF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702031537; bh=jvHMl6534FVoY2e7qYrIMVtH8X5Oy6byaqoMjnDvkHE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ghTRSjQdj3W0lMctVT2AdNOC6h6nnVrioL69164PIqk4TqRi/OCDSKIY8S7mc72K4 1GrHYUItLlz5nURCgVv7jXNKIFsFCZkTSNCOaoCK2EFsV4FnEhEkHhd3MRLUbpl91v opoDYvE8/cbX5+sN6rUqg+aBHSBxnCYBTBtQLWLA= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/112909] [14 Regression] glibc -Wuninitialized build failure for i686-gnu Date: Fri, 08 Dec 2023 10:32:16 +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-Version: 14.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112909 --- Comment #3 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:5e25baa7e577f9b73f746005efb5ccd4e000e51e commit r14-6319-g5e25baa7e577f9b73f746005efb5ccd4e000e51e Author: Richard Biener Date: Fri Dec 8 09:14:43 2023 +0100 tree-optimization/112909 - uninit diagnostic with abnormal copy The following avoids spurious uninit diagnostics for SSA name copies which mostly appear when the source is marked as abnormal which prevents copy propagation. To prevent regressions I remove the bail out for anonymous SSA names in the PHI arg place from warn_uninitialized_phi leaving that to warn_uninit where I handle SSA copies from a SSA name which isn't anonymous. In theory this might cause more valid and false positive diagnostics to pop up. PR tree-optimization/112909 * tree-ssa-uninit.cc (find_uninit_use): Look through a single level of SSA name copies with single use. * gcc.dg/uninit-pr112909.c: New testcase.=