------- Comment #2 from danglin at gcc dot gnu dot org 2007-12-14 16:44 ------- Breakpoint 1, int_cst_value (x=0x4023d320) at ../../gcc/gcc/tree.c:8047 8047 gcc_assert (bits <= HOST_BITS_PER_WIDE_INT); (gdb) p bits $3 = 64 (gdb) bt #0 int_cst_value (x=0x4023d320) at ../../gcc/gcc/tree.c:8047 #1 0x00633d7c in initialize_matrix_A (A=0x401c7fc0, chrec=0x40246730, index=0, mult=1) at ../../gcc/gcc/tree-data-ref.c:1816 #2 0x0063505c in analyze_subscript_affine_affine (chrec_a=0x40246730, chrec_b=0x40246758, overlaps_a=0xfb452094, overlaps_b=0xfb452098, last_conflicts=0xfb45208c) at ../../gcc/gcc/tree-data-ref.c:2049 #3 0x006375e0 in analyze_siv_subscript (chrec_a=0x40246730, chrec_b=0x40246758, overlaps_a=0xfb452094, overlaps_b=0xfb452098, last_conflicts=0xfb45208c) at ../../gcc/gcc/tree-data-ref.c:2367 #4 0x00638a34 in analyze_overlapping_iterations (chrec_a=0x402464b0, chrec_b=0x40246460, overlap_iterations_a=0xfb452094, overlap_iterations_b=0xfb452098, last_conflicts=0xfb45208c, loop_nest=0x401cdaa8) at ../../gcc/gcc/tree-data-ref.c:2604 #5 0x0063be74 in subscript_dependence_tester_1 (ddr=0xcce3d0, dra=0xcce400, drb=0xcce440, loop_nest=0x401cdaa8) at ../../gcc/gcc/tree-data-ref.c:3145 #6 0x0063c080 in subscript_dependence_tester (ddr=0xcce3d0, loop_nest=0x401cdaa8) at ../../gcc/gcc/tree-data-ref.c:3191 #7 0x0063eee4 in compute_affine_dependence (ddr=0xcce3d0, loop_nest=0x401cdaa8) at ../../gcc/gcc/tree-data-ref.c:3820 #8 0x0063f2e8 in compute_all_dependences (datarefs=0xce5f38, dependence_relations=0xfb451e20, loop_nest=0xce5d50, compute_self_and_rr=1 '\001') at ../../gcc/gcc/tree-data-ref.c:3896 #9 0x00640e5c in compute_data_dependences_for_loop (loop=0x401cdaa8, compute_self_and_read_read_dependences=1 '\001', datarefs=0xfb451e1c, dependence_relations=0xfb451e20) at ../../gcc/gcc/tree-data-ref.c:4132 #10 0x006b8804 in tree_predictive_commoning_loop (loop=0x401cdaa8) at ../../gcc/gcc/tree-predcom.c:2496 #11 0x006b8d14 in tree_predictive_commoning () at ../../gcc/gcc/tree-predcom.c:2605 #12 0x007b4858 in run_tree_predictive_commoning () at ../../gcc/gcc/tree-ssa-loop.c:183 #13 0x004db980 in execute_one_pass (pass=0xc88f18) at ../../gcc/gcc/passes.c:1118 #14 0x004dbba0 in execute_pass_list (pass=0xc88f18) at ../../gcc/gcc/passes.c:1171 #15 0x004dbbc4 in execute_pass_list (pass=0xc88e48) at ../../gcc/gcc/passes.c:1172 #16 0x004dbbc4 in execute_pass_list (pass=0xc8880c) at ../../gcc/gcc/passes.c:1172 #17 0x006949c0 in tree_rest_of_compilation (fndecl=0x402318c0) at ../../gcc/gcc/tree-optimize.c:404 #18 0x0096e704 in cgraph_expand_function (node=0x401c9280) at ../../gcc/gcc/cgraphunit.c:1151 #19 0x0096e960 in cgraph_expand_all_functions () at ../../gcc/gcc/cgraphunit.c:1214 #20 0x0096f23c in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1421 #21 0x00055140 in c_write_global_declarations () at ../../gcc/gcc/c-decl.c:8077 #22 0x005e4fb0 in compile_file () at ../../gcc/gcc/toplev.c:1055 #23 0x005e7af4 in do_compile () at ../../gcc/gcc/toplev.c:2245 #24 0x005e7ba0 in toplev_main (argc=17, argv=0xfb451608) at ../../gcc/gcc/toplev.c:2277 #25 0x00131740 in main (argc=17, argv=0xfb451608) at ../../gcc/gcc/main.c:35
It appears HOST_BITS_PER_WIDE_INT is 32 in this code. This is no doubt caused by using a long long (64-bit) index. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34458