From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 29F763858404; Tue, 29 Nov 2022 16:48:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 29F763858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669740516; bh=hLZu12VN3GOHwx3hK8MmtU/bVmkg461kjYvi7IGKPns=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fXUufEGzIxLPhLhFvFn8MqQRQzi57twg3tYD54Jig0opnwR472oN486ROpnGa8eHm FIRMOdyzUR59fevscEDu8isgK2zTQVPwIQ3Sd+paiqBOmeKUez7O4DRNkeaZSIiMqv Pmv+zY938rs13WOyejwjxgUFmV2jugSsip9g74Yg= From: "freddie_chopin at op dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107919] Possibly false-positive "maybe-uninitialized" with GCC 12 on complex variant-variant-tuple-unique_ptr types Date: Tue, 29 Nov 2022 16:48:36 +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.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: freddie_chopin at op dot pl X-Bugzilla-Status: UNCONFIRMED 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: 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=3D107919 --- Comment #1 from Freddie Chopin --- More possibly imporant notes: 1. The warning appears only with -O1 or -O2, with 0, s, g or 3 the warning = is gone. 2. Adding -fsanitize=3Dundefined to compiler invocation makes the warning g= o away as well - no terminal output is produced in that case.=