From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 17BDD3858D33; Wed, 19 Apr 2023 20:30:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 17BDD3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681936253; bh=rwZRzIYeEJGs8eqrSn0wySDnOPTJvckt3KnKlEI3b3o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jqnLS2ba7+qgi8lRZLCjDhH1RxadMlyGVOPtTRsAxtv/lpkYtDwp64qe1kbpZkPGG /y0a8xa2X5+CprzKiJahI5OtA1lGOLObowC+cd1YjZJeUNqzPMqP/UmzcMiTYw0J/7 GnQY4vnknQ7IAphhP/NTCWjbedqROrVsMObN9Bg0= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/109559] [12/13/14 Regression] Unexpected -Wmaybe-uninitialized warning when inlining with system header Date: Wed, 19 Apr 2023 20:30:52 +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: mpolacek at gcc dot gnu.org 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: 12.3 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=3D109559 --- Comment #2 from Marek Polacek --- Originally this happened when including boost headers, function_template.hp= p in particular, where newer versions suppress a lot of warnings: commit b75386f628b46f1060a20b6e015931bac37b7da7 (origin/feature/drone) Author: Peter Dimov Date: Sun Feb 12 04:50:04 2023 +0200 Avoid -Wuninitialized under GCC 11.3 commit 9229ed30103df59a4f989ca0235b0d1026bf6e1c Author: Peter Dimov Date: Sun Feb 12 04:47:38 2023 +0200 Avoid another -Wmaybe-uninitialized under GCC 11/12 commit 16fca8368b5da14c4bcad977c2738dc6e482e1b7 (tag: boost-1.81.0.beta1, t= ag: boost-1.81.0, tag: boost-1.80.0.beta1, tag: boost-1.80.0, origin/feature/issue-42) Author: Peter Dimov Date: Mon May 30 20:25:13 2022 +0300 Keep -Wmaybe-uninitialized disabled commit 4cf7c718b873223cbab6f8188bea2034f27ba99d Merge: 389f886 5b4e279 Author: Peter Dimov Date: Mon May 30 19:56:08 2022 +0300 Merge branch 'gcc12-Wuninitialized' of https://github.com/jngrad/boost-function into feature/issue-42 commit abc1bf9b4ae3f45251d17b451c69c3e79dfd0cf6 (origin/feature/update-ci) Author: Peter Dimov Date: Mon May 30 18:44:07 2022 +0300 Extend GCC 11 workaround to GCC 12 as well commit 5b4e2797a28f9477d2df5fa915409dac73ff00c6 Author: Jean-No=C3=ABl Grad Date: Mon May 30 16:16:41 2022 +0200 Avoid -Wuninitialized warnings in GCC 12 commit 277757befc321bda3b9d8038ee59ae6e4616cdca Author: Peter Dimov Date: Thu Dec 16 06:18:06 2021 +0200 Disable -Wmaybe-uninitialized in function_template.hpp for GCC 11 commit 7c90434317894f1a0c63c7a395ddf569eff1d308 Author: Romain Geissler Date: Fri Mar 27 18:56:14 2020 +0000 Avoid -Wmaybe-uninitialized warnings in gcc (issue #27).=