From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6DEAC3846906; Mon, 20 Feb 2023 10:40:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6DEAC3846906 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676889647; bh=LqVI9ZWOTUoLfcHVto3M72VtZDt+rYfDUOixn9AxfRc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QCBwbh6kMMlfphgWEJV6XBa0hpXsVHC8FTUW/7uxOn+mED+XbydNNyWarix1ZdDkv OvjY6ikRSBtOHWxsOnIKXMS0AFb3Dxd+ugy3xsYjHjMdVaUzQgHDECgVMIOmTrmh4M VLB3QjfGE/nQNHAZ6JFRfC0CEGuKeGe+tsc3eUvY= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/107931] [12/13 Regression] -Og causes always_inline to fail since r12-6677-gc952126870c92cf2 Date: Mon, 20 Feb 2023 10:40:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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=3D107931 --- Comment #16 from Jakub Jelinek --- As discussed elsewhere, always_inline is used in various ways, in some user= s I guess would like to see an error if it wasn't inlined, but e.g. the uses in glibc for _FORTIFY_SOURCE where many of the standard C or POSIX APIs have extern inline wrappers with always_inline and gnu_inline attributes. In th= at case always_inline is used there for security reasons (not inlining it means the security checks aren't done) but on the other side C/POSIX requires &op= en or &printf to work too.=