https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85794
Bug ID: 85794 Summary: [8/9 Regression][AArch64] ICE in expand_vector_condition in GIMPLE pass: veclower2 Product: gcc Version: 8.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sudi at gcc dot gnu.org Target Milestone: --- The following code ICEs with -O3 with aarch64-none-linux-gnu int a, b, *c, d, *e; int *f[6]; void fn1() { b = 1; for (; b >= 0; b--) { d = 0; for (; d <= 3; d++) { int **g = &e; *g = &a; *e |= f[b * 5] != c; } } } ./build-aarch64-none-linux-gnu/install/bin/aarch64-none-linux-gnu-gcc f.c -O3 -S -fdump-tree-all during GIMPLE pass: veclower2 dump file: f.c.173t.veclower21 f.c: In function ‘fn1’: f.c:6:6: internal compiler error: Segmentation fault void fn1() { ^~~ 0xbd57ff crash_signal /work/trunk/src/gcc/gcc/toplev.c:325 0xe55d90 tree_class_check /work/trunk/src/gcc/gcc/tree.h:3257 0xe55d90 expand_vector_condition /work/trunk/src/gcc/gcc/tree-vect-generic.c:901 0xe587c1 expand_vector_operations_1 /work/trunk/src/gcc/gcc/tree-vect-generic.c:1582 0xe587c1 expand_vector_operations /work/trunk/src/gcc/gcc/tree-vect-generic.c:1829 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.