From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B919C385841F; Mon, 26 Sep 2022 03:24:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B919C385841F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664162648; bh=uZ1NBHdl0rFJqGdazGtQ+eJe7/qf6wfQWq6i5EzZO7g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KoF+7F6Nu+a/0WkPnaMvPhckNRAMkOZ4JUbxeSRpfi2nEMROicYzXnaITip4aa11I M+jAyBxULrc1NGjLHlnjCucyPXYnQTXuUQ/HlENJ37qmP9XKlx320nBgeG7hyBgf9O xy95DNlGB/HgtE/kFijx4GnkA9sK4qEZsdauSh90= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/100645] ICE in related_vector_mode, at stor-layout.c:537 Date: Mon, 26 Sep 2022 03:24:06 +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: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: linkw 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=3D100645 --- Comment #3 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:bfad7069b74c97000b698191c1945f07a6192db5 commit r13-2844-gbfad7069b74c97000b698191c1945f07a6192db5 Author: Kewen Lin Date: Sun Sep 25 22:01:50 2022 -0500 rs6000: Fix condition of define_expand vec_shr_ [PR100645] PR100645 exposes one latent bug in define_expand vec_shr_ that the current condition TARGET_ALTIVEC is too loose. The mode iterator VEC_L contains a few modes, they are not always supported as vector mode, VECTOR_UNIT_ALTIVEC_OR_VSX_P should be used like some other VEC_L usages. PR target/100645 gcc/ChangeLog: * config/rs6000/vector.md (vec_shr_): Replace condition TARGET_ALTIVEC with VECTOR_UNIT_ALTIVEC_OR_VSX_P. gcc/testsuite/ChangeLog: * gcc.target/powerpc/pr100645.c: New test.=