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

            Bug ID: 84086
           Summary: [nvptx] segfault in instantiate_scev_r for
                    libgomp.fortran/examples-4/simd-2.f90 -O1
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

@r257131:
...
FAIL: libgomp.fortran/examples-4/simd-2.f90   -O1  (internal compiler error)
FAIL: libgomp.fortran/examples-4/simd-2.f90   -O1  (test for excess errors)
UNRESOLVED: libgomp.fortran/examples-4/simd-2.f90   -O1  compilation failed to
produce executable
...

In more details:
...
during GIMPLE pass: ivopts
/home/vries/oacc/trunk/source-gcc/libgomp/testsuite/libgomp.fortran/examples-4/simd-2.f90:21:0:
internal compiler \
error: Segmentation fault
0xc4414f crash_signal
        /home/vries/oacc/trunk/source-gcc/gcc/toplev.c:325
0xd442ff instantiate_scev_r
        /home/vries/oacc/trunk/source-gcc/gcc/tree-scalar-evolution.c:2765
0xd444c2 instantiate_scev_convert
        /home/vries/oacc/trunk/source-gcc/gcc/tree-scalar-evolution.c:2611
0xd444c2 instantiate_scev_r
        /home/vries/oacc/trunk/source-gcc/gcc/tree-scalar-evolution.c:2747
0xd4539f resolve_mixers(loop*, tree_node*, bool*)
        /home/vries/oacc/trunk/source-gcc/gcc/tree-scalar-evolution.c:2841
0xd47998 analyze_scalar_evolution_in_loop
        /home/vries/oacc/trunk/source-gcc/gcc/tree-scalar-evolution.c:2208
0xd47abc simple_iv_with_niters(loop*, loop*, tree_node*, affine_iv*,
tree_node**, bool)
        /home/vries/oacc/trunk/source-gcc/gcc/tree-scalar-evolution.c:3323
0xdc6720 find_givs_in_stmt_scev
        /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-loop-ivopts.c:1416
0xdc6720 find_givs_in_stmt
        /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-loop-ivopts.c:1446
0xdc6720 find_givs_in_bb
        /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-loop-ivopts.c:1460
0xdc6720 find_givs
        /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-loop-ivopts.c:1473
0xdc6720 find_induction_variables
        /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-loop-ivopts.c:1489
0xdc6720 tree_ssa_iv_optimize_loop
        /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-loop-ivopts.c:7559
0xdc6720 tree_ssa_iv_optimize()
        /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-loop-ivopts.c:7618
0xde5ed0 execute
        /home/vries/oacc/trunk/source-gcc/gcc/tree-ssa-loop.c:500
...

Reply via email to