public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/99787] New: ICE in curr_insn_transform, at lra-constraints.c:4133
@ 2021-03-26  8:41 marxin at gcc dot gnu.org
  2021-03-26  9:16 ` [Bug target/99787] [11 Regression] ICE in curr_insn_transform, at lra-constraints.c:4133 since r11-7807-gbe70bb5e4babdf9d3d33e8f4658452038407fa8e marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-26  8:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99787
           Summary: ICE in curr_insn_transform, at lra-constraints.c:4133
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: aarch64-linux-gnu

I see the following ICE:

$ cat big.c
_Complex foo_x_0;
int foo_n11, foo_i, foo_l;
_Complex float foo_s;
_Complex *foo_f_0_0_0;

void
foo() {
  _Complex f[foo_l];
  for (; foo_i; foo_i++) {
    int n9;
    for (; n9 < foo_l; n9++)
      for (; foo_n11; foo_n11++)
        foo_s += foo_f_0_0_0[n9] * 0 * foo_f_0_0_0[foo_n11];
    foo_x_0 += foo_s;
  }
}

$ aarch64-linux-gnu-gcc big.c -O2 -ftree-slp-vectorize -ffp-contract=on
-ffloat-store -c
big.c: In function ‘foo’:
big.c:16:1: error: unable to generate reloads for:
   16 | }
      | ^
(insn 155 154 156 12 (set (reg:V2DF 203)
        (vec_concat:V2DF (mem:DF (plus:DI (reg/f:DI 64 sfp)
                    (const_int 264 [0x108])) [3  S8 A64])
            (mem:DF (plus:DI (reg/f:DI 64 sfp)
                    (const_int 272 [0x110])) [3  S8 A128]))) 2474
{load_pair_lanesdf}
     (expr_list:REG_EQUIV (mem:V2DF (plus:DI (reg/f:DI 64 sfp)
                (const_int -32 [0xffffffffffffffe0])) [3  S16 A128])
        (nil)))
during RTL pass: reload
big.c:16:1: internal compiler error: in curr_insn_transform, at
lra-constraints.c:4133
0x69192f _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/rtl-error.c:108
0x68a741 curr_insn_transform
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/lra-constraints.c:4133
0xa85367 lra_constraints(bool)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/lra-constraints.c:5169
0xa6f0a2 lra(_IO_FILE*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/lra.c:2336
0xa2be49 do_reload
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/ira.c:5835
0xa2be49 execute
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/ira.c:6021
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

end of thread, other threads:[~2022-01-01  8:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26  8:41 [Bug target/99787] New: ICE in curr_insn_transform, at lra-constraints.c:4133 marxin at gcc dot gnu.org
2021-03-26  9:16 ` [Bug target/99787] [11 Regression] ICE in curr_insn_transform, at lra-constraints.c:4133 since r11-7807-gbe70bb5e4babdf9d3d33e8f4658452038407fa8e marxin at gcc dot gnu.org
2021-03-26  9:49 ` rguenth at gcc dot gnu.org
2021-03-26 17:27 ` vmakarov at gcc dot gnu.org
2022-01-01  8:48 ` cvs-commit 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).