------- Comment #11 from howarth at nitro dot med dot uc dot edu 2009-08-13 03:28 ------- Still crashes with proposed patch...
(gdb) r -O2 -fgraphite-identity -floop-strip-mine air.f90 -o air Starting program: /sw/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin10/4.5.0/f951 -O2 -fgraphite-identity -floop-strip-mine air.f90 -o air Reading symbols for shared libraries .++++++++++...... done MAIN__ main state spectop bound points fvspltx2 fvsplty2 derivx derivy xx grid6 inlet aexit botwall topwall Analyzing compilation unit {GC 6638k -> 4188k}Performing interprocedural optimizations <visibility> <early_local_cleanups> {GC 5842k -> 5718k} {GC 7502k -> 6028k} <summary generate> <cp> <inline> <static-var> <pure-const>Assembling functions: MAIN__ {GC 7858k -> 6199k} {GC 8281k -> 6211k} {GC 12794k -> 7064k} {GC 9743k -> 8201k} {GC 11386k -> 8305k} main state Program received signal EXC_ARITHMETIC, Arithmetic exception. 0x000000014164a15d in __gmp_exception () (gdb) bt #0 0x000000014164a15d in __gmp_exception () #1 0x000000014164a17e in __gmp_divide_by_zero () #2 0x000000014166121f in __gmpz_tdiv_q () #3 0x0000000100518f46 in pbb_number_of_iterations (pbb=0x14275e670, loop_depth=0, niter=0x7fff5fbfd3d0) at ../../gcc-4.5-20090812/gcc/graphite-poly.c:734 #4 0x00000001005122ab in scop_do_strip_mine (scop=<value temporarily unavailable, due to optimizations>) at ../../gcc-4.5-20090812/gcc/graphite-blocking.c:169 #5 0x0000000100517f08 in apply_poly_transforms (scop=0x142756f80) at ../../gcc-4.5-20090812/gcc/graphite-poly.c:258 #6 0x0000000100511d43 in graphite_transform_loops () at ../../gcc-4.5-20090812/gcc/graphite.c:274 #7 0x000000010077444a in graphite_transforms () at ../../gcc-4.5-20090812/gcc/tree-ssa-loop.c:300 #8 0x00000001005c52a9 in execute_one_pass (pass=0x100bea580) at ../../gcc-4.5-20090812/gcc/passes.c:1291 #9 0x00000001005c553d in execute_pass_list (pass=0x100bea580) at ../../gcc-4.5-20090812/gcc/passes.c:1340 #10 0x00000001005c554f in execute_pass_list (pass=0x100bea2e0) at ../../gcc-4.5-20090812/gcc/passes.c:1341 #11 0x00000001005c554f in execute_pass_list (pass=0x100be9980) at ../../gcc-4.5-20090812/gcc/passes.c:1341 #12 0x00000001006eec6f in tree_rest_of_compilation (fndecl=0x14297c100) at ../../gcc-4.5-20090812/gcc/tree-optimize.c:390 #13 0x000000010088b4ad in cgraph_expand_function (node=0x14297c300) at ../../gcc-4.5-20090812/gcc/cgraphunit.c:1114 #14 0x000000010088d60a in cgraph_expand_all_functions [inlined] () at /sw/src/fink.build/gcc45-4.4.999-20090812/gcc-4.5-20090812/gcc/cgraphunit.c:1173 #15 0x000000010088d60a in cgraph_finalize_compilation_unit () at ../../gcc-4.5-20090812/gcc/cgraphunit.c:1396 #16 0x00000001005714d6 in write_global_declarations () at ../../gcc-4.5-20090812/gcc/langhooks.c:314 #17 0x0000000100687d80 in compile_file [inlined] () at /sw/src/fink.build/gcc45-4.4.999-20090812/gcc-4.5-20090812/gcc/toplev.c:1038 #18 0x0000000100687d80 in toplev_main (argc=7, argv=0x7fff5fbfd770) at ../../gcc-4.5-20090812/gcc/toplev.c:2351 #19 0x0000000100000a34 in start () -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40981