public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/96448] New: ICE: maximum number of generated reload insns per insn achieved (90)
@ 2020-08-04  3:15 asolokha at gmx dot com
  2020-08-04  6:05 ` [Bug target/96448] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: asolokha at gmx dot com @ 2020-08-04  3:15 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96448
           Summary: ICE: maximum number of generated reload insns per insn
                    achieved (90)
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: powerpc-*-linux-gnu

Probably another invalid target issue, but still…

gcc-11.0.0-alpha20200802 snapshot (g:6e46b3f3da5c03bc529b3690dd0995927feb9142)
configured for a 32-bit BE powerpc target ICEs when compiling the following
testcase, extracted from test/CodeGen/x86-inline-asm-min-vector-width.c from
clang 10.0.1 test suite, w/ -mcpu=power10:

typedef long long __m256i __attribute__ ((vector_size (32)));

__m256i testYMMout(__m256i *p) {
  __m256i ymm0;
  __asm__("vmovdqu %1, %0" :"=v"(ymm0) : "m"(*(__m256i*)p));
  return ymm0;
}

% powerpc-e300c3-linux-gnu-gcc-11.0.0 -mcpu=power10 -w -c dcbvmywg.c
dcbvmywg.c: In function 'testYMMout':
dcbvmywg.c:5:3: note: the layout of aggregates containing vectors with 32-byte
alignment has changed in GCC 5
    5 |   __asm__("vmovdqu %1, %0" :"=v"(ymm0) : "m"(*(__m256i*)p));
      |   ^~~~~~~
during RTL pass: reload
dcbvmywg.c:7:1: internal compiler error: maximum number of generated reload
insns per insn achieved (90)
    7 | }
      | ^
0xc1ddd0 lra_constraints(bool)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20200802/work/gcc-11-20200802/gcc/lra-constraints.c:4954
0xc07540 lra(_IO_FILE*)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20200802/work/gcc-11-20200802/gcc/lra.c:2415
0xbbea4c do_reload
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20200802/work/gcc-11-20200802/gcc/ira.c:5525
0xbbea4c execute
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20200802/work/gcc-11-20200802/gcc/ira.c:5711

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

* [Bug target/96448] ICE: maximum number of generated reload insns per insn achieved (90)
  2020-08-04  3:15 [Bug target/96448] New: ICE: maximum number of generated reload insns per insn achieved (90) asolokha at gmx dot com
@ 2020-08-04  6:05 ` rguenth at gcc dot gnu.org
  2020-08-04  6:07 ` pinskia at gcc dot gnu.org
  2022-10-19  4:03 ` asolokha at gmx dot com
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-08-04  6:05 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I guess due to the 'v' constraint having different meaning than on x86-64.

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

* [Bug target/96448] ICE: maximum number of generated reload insns per insn achieved (90)
  2020-08-04  3:15 [Bug target/96448] New: ICE: maximum number of generated reload insns per insn achieved (90) asolokha at gmx dot com
  2020-08-04  6:05 ` [Bug target/96448] " rguenth at gcc dot gnu.org
@ 2020-08-04  6:07 ` pinskia at gcc dot gnu.org
  2022-10-19  4:03 ` asolokha at gmx dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-08-04  6:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
v
An Altivec vector register (VR), v0…v31.

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

* [Bug target/96448] ICE: maximum number of generated reload insns per insn achieved (90)
  2020-08-04  3:15 [Bug target/96448] New: ICE: maximum number of generated reload insns per insn achieved (90) asolokha at gmx dot com
  2020-08-04  6:05 ` [Bug target/96448] " rguenth at gcc dot gnu.org
  2020-08-04  6:07 ` pinskia at gcc dot gnu.org
@ 2022-10-19  4:03 ` asolokha at gmx dot com
  2 siblings, 0 replies; 4+ messages in thread
From: asolokha at gmx dot com @ 2022-10-19  4:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Arseny Solokha <asolokha at gmx dot com> ---
I cannot reproduce it anymore w/ gcc 13.0.0 20221016 snapshot
(g:6366e3e8847af98d4728d55951534769d034d02a) and w/ gcc 12.2.

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

end of thread, other threads:[~2022-10-19  4:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-04  3:15 [Bug target/96448] New: ICE: maximum number of generated reload insns per insn achieved (90) asolokha at gmx dot com
2020-08-04  6:05 ` [Bug target/96448] " rguenth at gcc dot gnu.org
2020-08-04  6:07 ` pinskia at gcc dot gnu.org
2022-10-19  4:03 ` asolokha at gmx dot com

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