https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103188
Alex Coplan <acoplan at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |ice-on-valid-code Known to fail| |12.0 Ever confirmed|0 |1 CC| |acoplan at gcc dot gnu.org Last reconfirmed| |2021-11-11 --- Comment #1 from Alex Coplan <acoplan at gcc dot gnu.org> --- Confirmed with an x864 -> aarch64-linux-gnu cross. Looks like a stack overflow in SCEV: #0 0x0000000000d05c54 in ei_container (i=<error reading variable: Cannot access memory at address 0x7ffffbffeff0>) at /home/alecop01/toolchain/src/gcc/gcc/basic-block.h:381 #1 0x0000000000d05d05 in ei_end_p (i=...) at /home/alecop01/toolchain/src/gcc/gcc/basic-block.h:418 #2 0x0000000000d05de9 in ei_cond (ei=..., p=0x7ffffbfff098) at /home/alecop01/toolchain/src/gcc/gcc/basic-block.h:468 #3 0x0000000000d0aa4e in loop_preheader_edge (loop=0x7ffff64d5d40) at /home/alecop01/toolchain/src/gcc/gcc/cfgloop.c:1763 #4 0x000000000158d479 in block_before_loop (loop=0x7ffff64d5d40) at /home/alecop01/toolchain/src/gcc/gcc/tree-scalar-evolution.h:52 #5 0x0000000001591a72 in analyze_scalar_evolution (loop=0x7ffff64d5d40, var=0x7ffff6344870) at /home/alecop01/toolchain/src/gcc/gcc/tree-scalar-evolution.c:2027 #6 0x000000000159064f in interpret_rhs_expr (loop=0x7ffff64d5d40, at_stmt=0x7ffff64c8108, type=0x7ffff64dd5e8, rhs1=0x7ffff6344870, code=PLUS_EXPR, rhs2=0x7ffff64e11b0) at /home/alecop01/toolchain/src/gcc/gcc/tree-scalar-evolution.c:1714 #7 0x000000000159174b in interpret_gimple_assign (loop=0x7ffff64d5d40, stmt=0x7ffff64c8108) at /home/alecop01/toolchain/src/gcc/gcc/tree-scalar-evolution.c:1920 #8 0x00000000015918c0 in analyze_scalar_evolution_1 (loop=0x7ffff64d5d40, var=0x7ffff6344558) at /home/alecop01/toolchain/src/gcc/gcc/tree-scalar-evolution.c:1969 #9 0x0000000001591ad2 in analyze_scalar_evolution (loop=0x7ffff64d5d40, var=0x7ffff6344558) at /home/alecop01/toolchain/src/gcc/gcc/tree-scalar-evolution.c:2038 #10 0x000000000158fe73 in interpret_condition_phi (loop=0x7ffff64d5d40, condition_phi=0x7ffff6386500) at /home/alecop01/toolchain/src/gcc/gcc/tree-scalar-evolution.c:1602 #11 0x0000000001591918 in analyze_scalar_evolution_1 (loop=0x7ffff64d5d40, var=0x7ffff6344870) at /home/alecop01/toolchain/src/gcc/gcc/tree-scalar-evolution.c:1976 #12 0x0000000001591ad2 in analyze_scalar_evolution (loop=0x7ffff64d5d40, var=0x7ffff6344870) at /home/alecop01/toolchain/src/gcc/gcc/tree-scalar-evolution.c:2038 #13 0x000000000159064f in interpret_rhs_expr (loop=0x7ffff64d5d40, at_stmt=0x7ffff64c8108, type=0x7ffff64dd5e8, rhs1=0x7ffff6344870, code=PLUS_EXPR, rhs2=0x7ffff64e11b0) at /home/alecop01/toolchain/src/gcc/gcc/tree-scalar-evolution.c:1714 #14 0x000000000159174b in interpret_gimple_assign (loop=0x7ffff64d5d40, stmt=0x7ffff64c8108) at /home/alecop01/toolchain/src/gcc/gcc/tree-scalar-evolution.c:1920 #15 0x00000000015918c0 in analyze_scalar_evolution_1 (loop=0x7ffff64d5d40, var=0x7ffff6344558) at /home/alecop01/toolchain/src/gcc/gcc/tree-scalar-evolution.c:1969 [...]