From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 07B223858D39; Tue, 28 Feb 2023 13:44:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 07B223858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677591852; bh=KChlBODafn0ObWLwCinVzx5gxaCexsK/E+5Uqx+7rD8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oGbeh85AC+fepvooePjEtclqv4VRY9TBx7WN4HXn9cnHJ3svPorGRhwss9HWr+bi0 AsI9xunzVNaMxqOPE/lbman/4PEZ0kZ2Snt5jAD159N7rBcvXarNXgaUvs3idBwPPl /6XL3zdMawzZccJATNoQIf1JAN/IiBi7C9uN84uw= From: "andrew.cooper3 at citrix dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/108968] fanalyzer false positive with the uninitalised-ness of the stack pointer Date: Tue, 28 Feb 2023 13:44:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andrew.cooper3 at citrix dot com 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=3D108968 --- Comment #2 from Andrew Cooper --- __builtin_frame_address() does appear to resolve the warning, but the knock= -on effect for code generation is even worse than the asm() block. It forces a frame-pointer setup in all functions that use it (which is most functions in Xen), even leaf functions, and despite -fomit-frame-pointer, w= hich in turn causes spilling of other registers now that %rbp isn't usable.=