public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-110926-4-D8U6kBsShg@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-110926-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110926

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuhongt@gcc.gnu.org>:

https://gcc.gnu.org/g:af6cfd7b663909688c6ca55b6e9f859cdde4310f

commit r14-3034-gaf6cfd7b663909688c6ca55b6e9f859cdde4310f
Author: liuhongt <hongtao.liu@intel.com>
Date:   Mon Aug 7 11:10:52 2023 +0800

    Fix ICE in rtl check when bootstrap.

   
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libgfortran/generated/matmul_i1.c:
In function âmatmul_i1_avx512fâ:
   
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libgfortran/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, char
const*, int, char const*)
           
/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**)
           
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/config/i386/i386.cc:19460
    0x5559dfec67a6 split_44
           
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/config/i386/sse.md:12730
    0x5559dfec67a6 split_63
           
/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)
           
/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)
           
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/emit-rtl.cc:3972
    0x5559def69194 split_insn
           
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/recog.cc:3385
    0x5559def70c57 split_all_insns()
           
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/recog.cc:3489
    0x5559def70d0c execute
           
/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.

  parent reply	other threads:[~2023-08-07 13:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-07  1:56 [Bug bootstrap/110926] New: " sjames at gcc dot gnu.org
2023-08-07  1:57 ` [Bug target/110926] " pinskia at gcc dot gnu.org
2023-08-07  1:58 ` pinskia at gcc dot gnu.org
2023-08-07  1:58 ` sjames at gcc dot gnu.org
2023-08-07  2:17 ` sjames at gcc dot gnu.org
2023-08-07  2:45 ` sjames at gcc dot gnu.org
2023-08-07  3:03 ` crazylht at gmail dot com
2023-08-07  3:17 ` crazylht at gmail dot com
2023-08-07  5:30 ` amonakov at gcc dot gnu.org
2023-08-07  5:51 ` crazylht at gmail dot com
2023-08-07 13:20 ` cvs-commit at gcc dot gnu.org [this message]
2023-08-07 13:21 ` crazylht at gmail dot com
2023-08-07 15:31 ` pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-110926-4-D8U6kBsShg@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).