public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/98872] New: ICE leads to SEGV on MMA test case
Date: Thu, 28 Jan 2021 22:49:48 +0000	[thread overview]
Message-ID: <bug-98872-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 98872
           Summary: ICE leads to SEGV on MMA test case
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bergner at gcc dot gnu.org
  Target Milestone: ---

bergner@pike:~/gcc/BUGS/MMA$ cat ice3.i 
typedef unsigned char vec_t __attribute__((vector_size(16)));
int
foo (vec_t *rowA, vec_t *rowB, vec_t *dst)
{
  __vector_quad acc0;
  __builtin_mma_xvf32gerpp (&acc0, rowB[0], rowA[0]);
  __builtin_mma_disassemble_acc (dst, &acc0);
}

bergner@pike:~/gcc/BUGS/MMA$
/home/bergner/gcc/build/gcc-fsf-mainline-mma-builtins-debug/gcc/xgcc
-B/home/bergner/gcc/build/gcc-fsf-mainline-mma-builtins-debug/gcc -S -O2
-mcpu=power10 ice3.i 
during RTL pass: init-regs
ice3.i: In function ‘foo’:
ice3.i:8:1: internal compiler error: Segmentation fault
    8 | }
      | ^
0x113d6697 crash_signal
        /home/bergner/gcc/gcc-fsf-mainline-mma-builtins/gcc/toplev.c:327
0x10b436c4 emit_move_insn(rtx_def*, rtx_def*)
        /home/bergner/gcc/gcc-fsf-mainline-mma-builtins/gcc/expr.c:3821
0x1289319b initialize_uninitialized_regs
        /home/bergner/gcc/gcc-fsf-mainline-mma-builtins/gcc/init-regs.c:108
0x12893443 execute
        /home/bergner/gcc/gcc-fsf-mainline-mma-builtins/gcc/init-regs.c:156

             reply	other threads:[~2021-01-28 22:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-28 22:49 bergner at gcc dot gnu.org [this message]
2021-01-28 22:51 ` [Bug target/98872] " bergner at gcc dot gnu.org
2021-01-29  7:48 ` rguenth at gcc dot gnu.org
2021-02-04  0:05 ` bergner at gcc dot gnu.org
2021-02-15 16:39 ` cvs-commit at gcc dot gnu.org
2021-02-15 17:38 ` bergner 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-98872-4@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).