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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Back-trace:

/home/marxin/Programming/testcases/pr78742.c:3:6: internal compiler error: in
int_cst_value, at tree.c:11484
 void func()
      ^~~~
0x1284ec8 int_cst_value(tree_node const*)
        ../../gcc/tree.c:11484
0x19018af initialize_matrix_A
        ../../gcc/tree-data-ref.c:2123
0x1902aad analyze_subscript_affine_affine
        ../../gcc/tree-data-ref.c:2539
0x1903ba4 analyze_siv_subscript
        ../../gcc/tree-data-ref.c:2858
0x190452d analyze_overlapping_iterations
        ../../gcc/tree-data-ref.c:3089
0x190594a subscript_dependence_tester_1
        ../../gcc/tree-data-ref.c:3614
0x1905a7b subscript_dependence_tester
        ../../gcc/tree-data-ref.c:3661
0x1905cae compute_affine_dependence(data_dependence_relation*, loop*)
        ../../gcc/tree-data-ref.c:3720
0xfd8709 pg_add_dependence_edges
        ../../gcc/tree-loop-distribution.c:1388
0xfd9194 distribute_loop
        ../../gcc/tree-loop-distribution.c:1623
0xfd9c31 execute
        ../../gcc/tree-loop-distribution.c:1844

Problematic constant:

(gdb) p debug_tree(x)
 <integer_cst 0x7ffff69b42d0 type <integer_type 0x7ffff689e9d8 __int128>
constant 1>

   │11483     /* Make sure the sign-extended value will fit in a HOST_WIDE_INT.
 */│
B+>│11484     gcc_assert (cst_and_fits_in_hwi (x));│

Reply via email to