From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EB04F3858D37; Thu, 2 Nov 2023 13:03:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB04F3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698930231; bh=mgbuiLTwcAx3znicWZlKPdg8fsjKkflBey0cccD6K98=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xxs8A5Qny4G+TDTu7Dedhaj7e+JJQXwPcvHkzb4j1nWnsw98vsZmRf9f/b1UHE8ee mzS4RgpBtM/lQ9vOoju69uHZVmlRoLRPj/rR0q1Cwq7J/v2rNPnEDNEi2U/BGTLKAI JsTqYVZqkwGWJcxjqkd7GrGVlI18pMjsme5RK5vQ= From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112334] ICE in gen_untyped_return arm.md:9197 while compiling harden-cfr-bret.c Date: Thu, 02 Nov 2023 13:03:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha 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: --- 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=3D112334 --- Comment #1 from Richard Earnshaw --- This might be a side issue, but: @defbuiltin{{void} __builtin_return (void *@var{result})} This built-in function returns the value described by @var{result} from the containing function. You should specify, for @var{result}, a value returned by @code{__builtin_apply}. So I'm not sure it's legal to pass &i to __builtin_return().=