From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D5F083894C18; Fri, 28 Aug 2020 00:58:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D5F083894C18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1598576332; bh=frpgQoMYhXf0GYpWw164M6Q+4iGC/jwZK+pNnqSN2us=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dlHXmirUcouOFCC+S6VToX6oMjO+n9o9fct3Y3HNatPgcQ4lyDvmvO6MxfhVioYhS P/BhkGNgF1LYVXyGxlpZ4crIVc2BbCgrD3dR+EZdpYhk9QSeUw8qV//3YXH82BgKDw vOgAq5UYOpF2jJgssj1L9dP7IloliY+kPwyI6jVI= From: "acsawdey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/96791] ICE in convert_mode_scalar, at expr.c:412 Date: Fri, 28 Aug 2020 00:58:52 +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: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: acsawdey at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2020 00:58:52 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96791 acsawdey at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |acsawdey at gcc dot= gnu.org --- Comment #5 from acsawdey at gcc dot gnu.org --- Nope, this is my patch that added vector pair to memcpy/memmove expansion. = We apparently don't have the right patterns defined for this to extract things from the POImode reg that it uses. This is the code in expr.c: if (GET_MODE_CLASS (from_mode) =3D=3D MODE_PARTIAL_INT) { rtx new_from; scalar_int_mode full_mode =3D smallest_int_mode_for_size (GET_MODE_BITSIZE (from_mode)); convert_optab ctab =3D unsignedp ? zext_optab : sext_optab; enum insn_code icode; icode =3D convert_optab_handler (ctab, full_mode, from_mode); gcc_assert (icode !=3D CODE_FOR_nothing); convert_optab_handler doesn't find anything to go from POImode to DImode, so the assert fires.=