From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A665B3858D20; Wed, 20 Sep 2023 06:34:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A665B3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695191667; bh=U3qkG+JnCM0yd1I0Ur7kNkMbAcixwsjcR+SC9QCE2o8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=y6DUqls/4W4EajibDbMo0AJ4NHzgokFkNWtvq3E3ltVO/shkuiK2rhDDoZg3jbSWL GANXUwzTupsx6b2loJzulNT1FVOZscAMlCjmc4j3jkfgf8OtqEnJEFyx3aAy0FaweK MB4ng5F5wEiAds/KxgBY48I81t5B2l83CPRHrorE= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111489] Incorrect "-Wmaybe-uninitialized" warning from GCC 13.2.0 Date: Wed, 20 Sep 2023 06:34:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed 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=3D111489 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2023-09-20 Ever confirmed|0 |1 --- Comment #3 from Richard Biener --- (In reply to Andrew Pinski from comment #1) > 159 -> 58: one_pred =3D NOT (iftmp.32_490 !=3D 0) > ((NOT (iftmp.32_490 !=3D 0))) > After normalization [USE]: > _419 =3D (int) pg_version_168; > is conditional on: > ((NOT (iftmp.32_490 !=3D 0))) >=20 >=20 > While the define was: > After normalization [DEF]: > pg_version_168 =3D PHI iftmp.13_491(35)> > is conditional on: > ((flags_262(D) =3D=3D 2)) The issue is really MAX_CHAIN_LEN exceeded: 6 init_use_preds: dep_chain incomplete, using conservative approximation init_from_control_deps [USE] {{}}: TRUE (empty) at -O2. At -O3 we manage to get a slightly less complex CFG but still run into this limit. Raising MAX_CHAIN_LEN to 8 (up from 5) avoids the diagnos= tic.=