From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0CF683857707; Mon, 7 Aug 2023 13:20:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0CF683857707 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691414442; bh=UHKW7/HsT3CyFn+GEYdUnmf2TVYfEZ+ySXSs4tgN/4k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=I1RCOocWtVJrWnPfav2BlXaQ+2WuCBwSbdjCbhmQSH31pbHCenDGMleYTGPZBPVQb 2leKigwkuYtvQYfQ5YKzr4xU/YkRC1SfF1tHvXAsUu3r1yQWTUQDvxLZABjeMvO9oM uq6LjSXdHWHXYthGoMT7lM54BQgbHWvB5tIB7U8k= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460) Date: Mon, 07 Aug 2023 13:20: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: 14.0 X-Bugzilla-Keywords: build, ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 14.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=3D110926 --- Comment #9 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:af6cfd7b663909688c6ca55b6e9f859cdde4310f commit r14-3034-gaf6cfd7b663909688c6ca55b6e9f859cdde4310f Author: liuhongt Date: Mon Aug 7 11:10:52 2023 +0800 Fix ICE in rtl check when bootstrap. =20=20=20 /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libg= fortran/generated/matmul_i1.c: In function =C3=A2matmul_i1_avx512f=C3=A2: =20=20=20 /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libg= fortran/generated/matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460 1781 | } | ^ 0x5559de26dc2d rtl_check_failed_type2(rtx_def const*, int, int, int, ch= ar const*, int, char const*) =20=20=20=20=20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/= rtl.cc:761 0x5559de340bfe vpternlog_redundant_operand_mask(rtx_def**) =20=20=20=20=20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/= config/i386/i386.cc:19460 0x5559dfec67a6 split_44 =20=20=20=20=20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/= config/i386/sse.md:12730 0x5559dfec67a6 split_63 =20=20=20=20=20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/= config/i386/sse.md:28428 0x5559deb8a682 try_split(rtx_def*, rtx_insn*, int) =20=20=20=20=20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/= emit-rtl.cc:3800 0x5559deb8adf2 try_split(rtx_def*, rtx_insn*, int) =20=20=20=20=20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/= emit-rtl.cc:3972 0x5559def69194 split_insn =20=20=20=20=20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/= recog.cc:3385 0x5559def70c57 split_all_insns() =20=20=20=20=20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/= recog.cc:3489 0x5559def70d0c execute =20=20=20=20=20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/= recog.cc:4413 Use INTVAL (imm_op) instead of XINT (imm_op, 0). gcc/ChangeLog: PR target/110926 * config/i386/i386-protos.h (vpternlog_redundant_operand_mask): Adjust parameter type. * config/i386/i386.cc (vpternlog_redundant_operand_mask): Use INTVAL instead of XINT, also adjust parameter type from rtx* to rtx since the function only needs operands[4] in vpternlog pattern. (substitute_vpternlog_operands): Pass operands[4] instead of operands to vpternlog_redundant_operand_mask. * config/i386/sse.md: Ditto.=