public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "acoplan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/99727] New: [11 Regression] MVE: ICE (segfault) in arm_print_operand at -O3
Date: Tue, 23 Mar 2021 12:45:04 +0000	[thread overview]
Message-ID: <bug-99727-4@http.gcc.gnu.org/bugzilla/> (raw)

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.

             reply	other threads:[~2021-03-23 12:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-23 12:45 acoplan at gcc dot gnu.org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-99727-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).