From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E4D773858CDB; Wed, 13 Sep 2023 08:25:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E4D773858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694593527; bh=II6FAYD7KxnYqALVXKhLwOW/G1VdPhmXt/LDwhpXmOk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NKahLWp48cuU3544LLhwiwEMxUh5BUMSp8Mw9ZGbj4wcNNFc2DBynqa49AaVILv/o lzc7g+td0+PxTpStWMWnu1BMzDkz75EXjk+aG5Va2jZmHRt/qiHxzBTOk8TZ1M9R4p nFl1gTeRefTsX1h/5r1oyNdvTC2tt6Z2rukJmj0w= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111397] [12/13 Regression] Spurious warning "'({anonymous})' is used uninitialized" when calling a __returns_twice__ function (-Wuninitialized -O2) Date: Wed, 13 Sep 2023 08:25:23 +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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_fail short_desc priority target_milestone blocked cf_known_to_work 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=3D111397 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |12.3.1, 13.2.1 Summary|Spurious warning |[12/13 Regression] Spurious |"'({anonymous})' is used |warning "'({anonymous})' is |uninitialized" when calling |used uninitialized" when |a __returns_twice__ |calling a __returns_twice__ |function (-Wuninitialized |function (-Wuninitialized |-O2) |-O2) Priority|P3 |P2 Target Milestone|--- |12.4 Blocks| |24639 Known to work| |11.4.1, 14.0 --- Comment #4 from Richard Biener --- Fixed on trunk, I know it works on the 13 branch, eventually will backport. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D24639 [Bug 24639] [meta-bug] bug to track all Wuninitialized issues=