From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9F2783858D39; Tue, 7 Mar 2023 10:59:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F2783858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678186750; bh=gzzmMPvBCvP2vCig3ZiMmfiypw+hIFYs6psJfE8pE2I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JC7G/eiV2YHVvHqqpgFxaSKTk8+hBoo70iyYwo9AbW/5YBXD5kkO7lrdc+yIojgKJ +cvuPUy+KMAq1wf1NZp+58csYDUesn9MfL+HpYFDyPSH2hMKUVzgUgL63PfTxIMvAB HYelYhIB35NWDEuprwyQgpk/Oevmhc1LGOt95uyM= From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109005] [13 Regression] ICE during GIMPLE pass: ifcvt Date: Tue, 07 Mar 2023 10:59:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains 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: 13.0 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=3D109005 --- Comment #18 from Iain Sandoe --- (In reply to Marc Poulhi=C3=A8s from comment #17) > FWIW, can confirm the above fix works for the small reproducer (x86_64-li= nux) >=20 > /* Bail out if the representative is BLKmode as we will not be able to > vectorize this. */ > - if (TYPE_MODE (TREE_TYPE (rep_decl)) =3D=3D E_BLKmode) > + if (!is_gimple_reg_type (TREE_TYPE (rep_decl))) > return NULL_TREE; presumably, the final patch will also amend the comment?=