From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AA666384C004; Wed, 31 Mar 2021 16:15:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AA666384C004 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/63943] wrong location for -Wmaybe-uninitialized in inlined function Date: Wed, 31 Mar 2021 16:15:04 +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: 4.9.2 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: cc cf_reconfirmed_on cf_known_to_fail 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 16:15:04 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63943 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org Last reconfirmed|2014-11-19 00:00:00 |2021-3-31 Known to fail|4.9.2, 5.0 |10.2.0, 11.0, 4.9.4, 5.5.0, | |6.4.0, 7.2.0, 8.3.0, 9.1.0 --- Comment #3 from Martin Sebor --- Reconfirmed with GCC 11 with mostly the same observations as in comment #1. As for using %K, I mostly agree. I actually have %G in my tree, but my goa= l is to get rid of both and replace them with a new warning function like so: https://gcc.gnu.org/pipermail/gcc-patches/2021-January/563862.html and replace calls to warning() and warning_at() in the middle end with thos= e to the new function. This makes it possible to control warnings at any point = in the lining stack and resolves bug like pr98871.=