From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CF3673851C13; Mon, 8 Jun 2020 09:06:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CF3673851C13 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1591607161; bh=pjmfRJvv25zwQuSuHR/kkhjXWqoytcVuaXxDaJ1g+X8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SYfWLa2H0pswWILgFeWrW+5M7C3fJ4Z0ggOgyghqOzX/KxfSygSG9PEqeQyLmKYoz xwjvUiIxVngKgWDteqRAjRhhJtKjmSWwthwAL1TcQDzMxN0HB/opPJq3anorGeU/Am N4IL9zEwqbcppCqyZGwZEv0lLnQgRGr3yi5ce480= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/95528] [10/11 Regression] internal compiler error: in emit_move_insn, at expr.c:3814 Date: Mon, 08 Jun 2020 09:06:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-bisection 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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.2 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 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: Mon, 08 Jun 2020 09:06:01 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95528 --- Comment #10 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8be374e02761c9d63d2753d71e4bd4874a1577b1 commit r11-1065-g8be374e02761c9d63d2753d71e4bd4874a1577b1 Author: Jakub Jelinek Date: Mon Jun 8 11:05:10 2020 +0200 forwprop: Ignore scalar mode vectors in simplify_vector_constructor [PR95528] As mentioned in the PR, the problem is that at least the x86 backend as= umes that the vec_unpack* and vec_pack* optabs with integral modes are for t= he AVX512-ish vector masks rather than for very small vectors done in GPRs. The only other target that seems to have a scalar mode vec_{,un}pack* o= ptab is aarch64 as discussed in the PR, so there is also a condition for tha= t. All other targets have just vector mode optabs. 2020-06-08 Jakub Jelinek PR target/95528 * tree-ssa-forwprop.c (simplify_vector_constructor): Don't use VEC_UNPACK*_EXPR or VEC_PACK_TRUNC_EXPR with scalar modes unless the type is vector boolean. * g++.dg/opt/pr95528.C: New test.=