public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/99727] New: [11 Regression] MVE: ICE (segfault) in arm_print_operand at -O3
@ 2021-03-23 12:45 acoplan at gcc dot gnu.org
  2021-03-23 12:45 ` [Bug target/99727] " acoplan at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: acoplan at gcc dot gnu.org @ 2021-03-23 12:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99727
           Summary: [11 Regression] MVE: ICE (segfault) in
                    arm_print_operand at -O3
           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: ---

The following fails:

$ cat test.c
char a[7][25][15][14];
void b() {
  for (int c;; ++c)
    for (int d = 0; d < 25; ++d)
      for (int e = 0; e < 15; ++e)
        for (int f = 0; f < 14; ++f)
          a[c][d][e][f] = 1;
}
$ arm-eabi-gcc -c test.c -march=armv8.1-m.main+mve -mfloat-abi=hard -O3
during RTL pass: final
test.c: In function 'b':
test.c:8:1: internal compiler error: Segmentation fault
    8 | }
      | ^
0xd41821 crash_signal
        /home/alecop01/toolchain/src/gcc/gcc/toplev.c:327
0x118eba5 arm_print_operand
        /home/alecop01/toolchain/src/gcc/gcc/config/arm/arm.c:24201
0x960465 output_operand(rtx_def*, int)
        /home/alecop01/toolchain/src/gcc/gcc/final.c:4069
0x960f44 output_asm_insn(char const*, rtx_def**)
        /home/alecop01/toolchain/src/gcc/gcc/final.c:3962
0x9639f5 final_scan_insn_1
        /home/alecop01/toolchain/src/gcc/gcc/final.c:3125
0x963c8d final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        /home/alecop01/toolchain/src/gcc/gcc/final.c:3171
0x96489a final_1
        /home/alecop01/toolchain/src/gcc/gcc/final.c:2022
0x964bf8 rest_of_handle_final
        /home/alecop01/toolchain/src/gcc/gcc/final.c:4676
0x964bf8 execute
        /home/alecop01/toolchain/src/gcc/gcc/final.c:4754
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.

I can't reproduce it on the GCC 10 branch.

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

end of thread, other threads:[~2021-03-24 14:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 12:45 [Bug target/99727] New: [11 Regression] MVE: ICE (segfault) in arm_print_operand at -O3 acoplan at gcc dot gnu.org
2021-03-23 12:45 ` [Bug target/99727] " acoplan at gcc dot gnu.org
2021-03-23 14:16 ` [Bug target/99727] [11 Regression] MVE: ICE (segfault) in arm_print_operand at -O3 since r11-6616-g25bef689 acoplan at gcc dot gnu.org
2021-03-23 21:55 ` clyon at gcc dot gnu.org
2021-03-24  8:32 ` rguenth at gcc dot gnu.org
2021-03-24 14:23 ` cvs-commit at gcc dot gnu.org
2021-03-24 14:24 ` clyon at gcc dot gnu.org
2021-03-24 14:28 ` acoplan 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).