public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/97701] New: [10/11 Regression] aarch64: ICE in extract_constrain_insn since r10-4447-g095f78c6
@ 2020-11-03 14:41 acoplan at gcc dot gnu.org
  2020-11-03 14:41 ` [Bug target/97701] " acoplan at gcc dot gnu.org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: acoplan at gcc dot gnu.org @ 2020-11-03 14:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97701
           Summary: [10/11 Regression] aarch64: ICE in
                    extract_constrain_insn since r10-4447-g095f78c6
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: acoplan at gcc dot gnu.org
  Target Milestone: ---

For the following testcase:

extern char a[][12][18][17][17];
extern short b[][12][18][17][17];
extern int c[][2][8][7];
short *d;
void e(signed f, int g, char h, char i, char j) {
  for (int k = 648; k; k += f)
    for (short l; l < j; l += 9)
      for (long m = f + 6LL; m < (h ? h : i); m += 2)
        for (int n = 0; n < 16; n += 3LL) {
          for (int o = g; o; o++)
            a[k][l][m][n][o] = b[k][l][m][n][o] = d[k] ? 2 : 0;
          c[k][l][m][0] = 0;
        }
}

AArch64 GCC ICEs at -O3 since
r10-4447-g095f78c62157124ad479a3f98b6995ced090b807. To reproduce:

$ aarch64-elf-gcc -c test.c -O3
test.c: In function 'e':
test.c:14:1: error: insn does not satisfy its constraints:
   14 | }
      | ^
(insn 2496 2495 2497 5 (set (reg:DI 32 v0 [1415])
        (lo_sum:DI (reg:DI 6 x6 [1416])
            (symbol_ref/u:DI ("*.LC0") [flags 0x82]))) 1007 {add_losym_di}
     (nil))
during RTL pass: reload
test.c:14:1: internal compiler error: in extract_constrain_insn, at
recog.c:2212
0xd1ab2f _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/alecop01/toolchain/src/gcc/gcc/rtl-error.c:108
0xd1ab60 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /home/alecop01/toolchain/src/gcc/gcc/rtl-error.c:118
0xcec957 extract_constrain_insn(rtx_insn*)
        /home/alecop01/toolchain/src/gcc/gcc/recog.c:2212
0xbbe58d check_rtl
        /home/alecop01/toolchain/src/gcc/gcc/lra.c:2038
0xbc3451 lra(_IO_FILE*)
        /home/alecop01/toolchain/src/gcc/gcc/lra.c:2447
0xb76cff do_reload
        /home/alecop01/toolchain/src/gcc/gcc/ira.c:5725
0xb76cff execute
        /home/alecop01/toolchain/src/gcc/gcc/ira.c:5911
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] 21+ messages in thread

end of thread, other threads:[~2023-07-07  9:12 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-03 14:41 [Bug target/97701] New: [10/11 Regression] aarch64: ICE in extract_constrain_insn since r10-4447-g095f78c6 acoplan at gcc dot gnu.org
2020-11-03 14:41 ` [Bug target/97701] " acoplan at gcc dot gnu.org
2020-11-03 15:01 ` rguenth at gcc dot gnu.org
2020-11-20  8:30 ` jakub at gcc dot gnu.org
2020-11-20 15:17 ` acoplan at gcc dot gnu.org
2020-11-20 15:54 ` acoplan at gcc dot gnu.org
2020-11-20 16:13 ` acoplan at gcc dot gnu.org
2021-01-14  9:35 ` rguenth at gcc dot gnu.org
2021-01-26 11:25 ` jakub at gcc dot gnu.org
2021-01-28 18:29 ` vmakarov at gcc dot gnu.org
2021-01-29 19:54 ` cvs-commit at gcc dot gnu.org
2021-01-29 19:55 ` vmakarov at gcc dot gnu.org
2021-01-29 20:00 ` jakub at gcc dot gnu.org
2021-01-29 20:13 ` vmakarov at gcc dot gnu.org
2021-01-29 21:06 ` cvs-commit at gcc dot gnu.org
2021-02-03 15:57 ` [Bug target/97701] [10 " jakub at gcc dot gnu.org
2021-02-04 21:04 ` cvs-commit at gcc dot gnu.org
2021-03-31  9:08 ` acoplan at gcc dot gnu.org
2021-04-08 12:02 ` rguenth at gcc dot gnu.org
2022-06-28 10:42 ` jakub at gcc dot gnu.org
2023-07-07  9:11 ` rguenth 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).