From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 14D953858C53; Mon, 16 Jan 2023 13:01:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14D953858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673874102; bh=u6IMQDu0y6/jFNs/FccIkwjVeOuZl9mb7Fz1kvy3ZPY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=anUiyXj5ZOMeS+YxEJOfq7S61V5hpzAaMgFMB+bTxkyesDYFIm9Ksh9mQIs3P6Dms v+vPht9vKe2wzbNk4G3IckBtB45hY3ISCaIZN2ZrGcpzcu0VI4Ctc2R5cHaZWd//i2 GhwCvc0pT2myTW0SsTH6320W5SnO360TUsglx1ew= From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7 Date: Mon, 16 Jan 2023 13:01:41 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 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=3D105554 --- Comment #10 from rguenther at suse dot de --- On Mon, 16 Jan 2023, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105554 >=20 > --- Comment #9 from Martin Li=C5=A1ka --- > > fixes the ICE, not sure if we should adjust the PARM_DECLs mode somewhe= re > > in target cloning instead though? >=20 > We can do that in create_target_clone which calls > node->create_version_clone_with_body where a new function_decl is created. >=20 > However, the following code does not work: >=20 > for (tree arg =3D DECL_ARGUMENTS (new_node->decl); arg; arg =3D DECL_CH= AIN (arg)) > if (VECTOR_TYPE_P (TREE_TYPE (arg))) > SET_DECL_MODE (arg, TYPE_MODE (TREE_TYPE (arg))); >=20 > I'm curious about what needs to be changed once we can get a proper MODE = for > the new argument. Well, most definitely the new decls target options need to be=20 instantiated?=