public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/97849] New: aarch64: ICE (segfault) during GIMPLE pass: ifcvt since r10-3543-gf30b3d28
@ 2020-11-16 12:48 acoplan at gcc dot gnu.org
  2020-11-16 12:49 ` [Bug tree-optimization/97849] [10/11 Regression] " acoplan at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: acoplan at gcc dot gnu.org @ 2020-11-16 12:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97849
           Summary: aarch64: ICE (segfault) during GIMPLE pass: ifcvt
                    since r10-3543-gf30b3d28
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: acoplan at gcc dot gnu.org
  Target Milestone: ---

AArch64 GCC ICEs on the following testcase:

int a, b, c, d;
static int e(int f) { return a == 0 ? 0 : f / a; }
int g() {
  int h;
  char i = c = 0;
  for (; c <= 8; c++)
    --i;
  for (; b;) {
    int *j = &a;
    d = *j;
    *j = e(0 >= i);
  }
}

at -O1 -ftree-vectorize -march=armv8.2-a+sve since
r10-3543-gf30b3d2891cef9803badb3f85d739c0fcfafd585. To reproduce:

$ aarch64-elf-gcc -c -S -O1 -ftree-vectorize -march=armv8.2-a+sve test.c

during GIMPLE pass: ifcvt
test.c: In function 'g':
test.c:3:5: internal compiler error: Segmentation fault
    3 | int g() {
      |     ^
0xdb190b crash_signal
        /home/alecop01/toolchain/src/gcc/gcc/toplev.c:330
0xe48224 ifcvt_local_dce
        /home/alecop01/toolchain/src/gcc/gcc/tree-if-conv.c:2993
0xe48224 tree_if_conversion(loop*, vec<gimple*, va_heap, vl_ptr>*)
        /home/alecop01/toolchain/src/gcc/gcc/tree-if-conv.c:3130
0xe48ace execute
        /home/alecop01/toolchain/src/gcc/gcc/tree-if-conv.c:3207
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] 9+ messages in thread

end of thread, other threads:[~2021-03-31 13:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 12:48 [Bug tree-optimization/97849] New: aarch64: ICE (segfault) during GIMPLE pass: ifcvt since r10-3543-gf30b3d28 acoplan at gcc dot gnu.org
2020-11-16 12:49 ` [Bug tree-optimization/97849] [10/11 Regression] " acoplan at gcc dot gnu.org
2020-11-17  5:00 ` prathamesh3492 at gcc dot gnu.org
2020-11-17  7:00 ` rguenth at gcc dot gnu.org
2020-11-17  7:00 ` rguenth at gcc dot gnu.org
2020-11-24  1:29 ` cvs-commit at gcc dot gnu.org
2020-11-24  1:35 ` prathamesh3492 at gcc dot gnu.org
2021-03-31 13:49 ` [Bug tree-optimization/97849] [10 " cvs-commit at gcc dot gnu.org
2021-03-31 13:51 ` 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).