http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48482

           Summary: ICE: in omega_alloc_problem, at omega.c:5498 with
                    -fcheck-data-deps --param omega-max-vars=1
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: zso...@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 23901
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23901
reduced testcase (the same as gcc.dg/tree-ssa/pr42327.c)

Maybe related to PR48393 and PR42327.

Compiler output:
$ gcc -O -fcheck-data-deps --param omega-max-vars=1 testcase.c
testcase.c: In function 'foo':
testcase.c:1: internal compiler error: in omega_alloc_problem, at omega.c:5498
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

(gdb) bt
#0  fancy_abort (file=0x1349c28 "/mnt/svn/gcc-trunk/gcc/omega.c", line=5473,
function=0x134aae0 "omega_alloc_problem")
    at /mnt/svn/gcc-trunk/gcc/diagnostic.c:892
#1  0x00000000010338b1 in omega_alloc_problem (nvars=2, nprot=1) at
/mnt/svn/gcc-trunk/gcc/omega.c:5473
#2  0x00000000009004ba in init_omega_for_ddr (datarefs=Unhandled dwarf
expression opcode 0xf3
) at /mnt/svn/gcc-trunk/gcc/tree-data-ref.c:3907
#3  compute_affine_dependence (datarefs=Unhandled dwarf expression opcode 0xf3
) at /mnt/svn/gcc-trunk/gcc/tree-data-ref.c:4078
#4  compute_all_dependences (datarefs=Unhandled dwarf expression opcode 0xf3
) at /mnt/svn/gcc-trunk/gcc/tree-data-ref.c:4176
#5  0x0000000000901a60 in compute_data_dependences_for_loop (loop=Unhandled
dwarf expression opcode 0xf3
) at /mnt/svn/gcc-trunk/gcc/tree-data-ref.c:4469
#6  0x0000000000901dc6 in analyze_all_data_dependences () at
/mnt/svn/gcc-trunk/gcc/tree-data-ref.c:4576
#7  tree_check_data_deps () at /mnt/svn/gcc-trunk/gcc/tree-data-ref.c:4625
#8  0x00000000009b4087 in check_data_deps () at
/mnt/svn/gcc-trunk/gcc/tree-ssa-loop.c:323
#9  0x00000000007ee346 in execute_one_pass (pass=0x16447c0) at
/mnt/svn/gcc-trunk/gcc/passes.c:1555
#10 0x00000000007ee635 in execute_pass_list (pass=0x16447c0) at
/mnt/svn/gcc-trunk/gcc/passes.c:1610
#11 0x00000000007ee647 in execute_pass_list (pass=0x1644ac0) at
/mnt/svn/gcc-trunk/gcc/passes.c:1611
#12 0x00000000007ee647 in execute_pass_list (pass=0x1643d40) at
/mnt/svn/gcc-trunk/gcc/passes.c:1611
#13 0x0000000000932145 in tree_rest_of_compilation (fndecl=0x7ffff5977f00) at
/mnt/svn/gcc-trunk/gcc/tree-optimize.c:422
#14 0x0000000000afd5b7 in cgraph_expand_function (node=0x7ffff5994000) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1580
#15 0x0000000000affcfc in cgraph_expand_all_functions () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1639
#16 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1903
#17 0x0000000000b0028a in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1100
#18 0x0000000000508864 in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c-decl.c:9879
#19 0x00000000008db16d in compile_file (argc=16, argv=0x7fffffffdc58) at
/mnt/svn/gcc-trunk/gcc/toplev.c:591

Reply via email to