From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 80297385840E; Thu, 1 Dec 2022 17:59:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 80297385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669917598; bh=ek6+g3H3CHIejCt+YQnpkJxItqfwI68rtMBmfCo+RKA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JLQEp5R1tbl9mJQNpv+yrpSShgDoVrTki3R+pW5t/qkyfPNcBtjqhlC7raIBg9DZ+ 5jRNUUwYVh/pWOWCgrMl3TpCI0Oi4FFDv9Dxo4GE4Iy5dT0WxQO3Am0FGc30QP9kIn li59byXzbbKUAc7RZR9oCJlrJSagYteFSeA8cFHU= From: "me at xenu dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/107931] [12/13 Regression] -Og causes always_inline to fail since r12-6677-gc952126870c92cf2 Date: Thu, 01 Dec 2022 17:59:58 +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: me at xenu dot pl 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 #5 from Tomasz Konojacki --- To sum this thread up, there are undocumented rules that can cause a semantically identical program to be rejected by the compiler under certain optimisation levels (with an uninformative error message) and users are expected to know them. Thank you.=