From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 223763858280; Mon, 14 Nov 2022 14:09:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 223763858280 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668434957; bh=PZBlkUaWUG0NY8XBFdbQbVs6zCPSnaIWSXWDKChO+f0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LNdT4dNzFPidBasIknPn9TX3TTxm4vZY78mUyf5ZPVhd/6ZRS95LJzrfKo3Q0f74F on5DrX7LQu3RPxwqGjF78tro8QIRSTNSpj4+Vmp/7sa7xhbHLOZ6kQwTfsyq3ybLdw 9kaZrJ5OgbOmujMzjDwLm831iqsOxUDuyyTntg4c= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107663] -Wmaybe-uninitialized does not catch an uninitialized variable if its address was passed at -O0 and there was a call before hand Date: Mon, 14 Nov 2022 14:09:16 +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: 12.2.1 X-Bugzilla-Keywords: 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=3D107663 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2022-11-14 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Confirmed. It's as Marc says, the call to f_a() confuses the analysis here (we have no birth marks for 'v').=