public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/104923] New: MMA __builtin_mma_disassemble_acc test case ICEs in LRA
@ 2022-03-14 22:19 bergner at gcc dot gnu.org
  2022-03-14 22:33 ` [Bug target/104923] " bergner at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bergner at gcc dot gnu.org @ 2022-03-14 22:19 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104923
           Summary: MMA __builtin_mma_disassemble_acc test case ICEs in
                    LRA
           Product: gcc
           Version: 12.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: ---

The following two test cases both ICE in LRA with current trunk and GCC11.  It
compiles finw with GCC 10:

bergner@rain6p1:~$ cat ice1.c 
void
foo (__vector_quad *acc, __vector char *dst, unsigned int n)
{
  __vector char a[4];
  __builtin_mma_disassemble_acc(a, acc);
  dst[2 * n] = a[0];
}
bergner@rain6p1:~$ gcc -S -O2 -mcpu=power10 ice1.c 
during RTL pass: reload
ice1.c: In function ‘foo’:
ice1.c:7:1: internal compiler error: in lra_set_insn_recog_data, at lra.cc:1010
    7 | }
      | ^
0x109a49fb lra_set_insn_recog_data(rtx_insn*)
        /home/bergner/gcc/gcc-fsf-mainline-base/gcc/lra.cc:1010
...



bergner@rain6p1:~$ cat ice2.c 
void
foo (__vector_quad *acc, __vector char *dst, unsigned int n)
{
  __vector char a[4];
  __builtin_mma_disassemble_acc(a, acc);
  dst[3 * n] = a[0];
}
bergner@rain6p1:~$ gcc -S -O2 -mcpu=power10 ice2.c 
during RTL pass: reload
ice2.c: In function ‘foo’:
ice2.c:7:1: internal compiler error: in decompose_normal_address, at
rtlanal.cc:6716
    7 | }
      | ^
0x10be4b23 decompose_normal_address
        /home/bergner/gcc/gcc-fsf-mainline-base/gcc/rtlanal.cc:6716
...

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-03-18 21:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-14 22:19 [Bug target/104923] New: MMA __builtin_mma_disassemble_acc test case ICEs in LRA bergner at gcc dot gnu.org
2022-03-14 22:33 ` [Bug target/104923] " bergner at gcc dot gnu.org
2022-03-14 22:34 ` bergner at gcc dot gnu.org
2022-03-15  7:55 ` [Bug target/104923] [11/12 Regression] " rguenth at gcc dot gnu.org
2022-03-15 13:50 ` cvs-commit at gcc dot gnu.org
2022-03-18 21:03 ` cvs-commit at gcc dot gnu.org
2022-03-18 21:07 ` bergner at gcc dot gnu.org

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).