[Bug tree-optimization/63785] New: [5.0 regression] FAIL: gfortran.dg/transfer_simplify_2.f90 -O0 (internal compiler error)

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Sat Nov 8 22:02:00 GMT 2014


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

            Bug ID: 63785
           Summary: [5.0 regression] FAIL:
                    gfortran.dg/transfer_simplify_2.f90   -O0  (internal
                    compiler error)
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: schwab@linux-m68k.org
                CC: rguenther at suse dot de
            Target: m68k-*-*

$ gcc/gfortran -Bgcc/ -Bm68k-linux/./libgfortran/
../gcc/testsuite/gfortran.dg/transfer_simplify_2.f90 -O2
-Bm68k-linux/./libgfortran/.libs -Lm68k-linux/./libgfortran/.libs
-Lm68k-linux/./libgfortran/.libs -lm -o ./transfer_simplify_2.exe
../gcc/testsuite/gfortran.dg/transfer_simplify_2.f90:92:0:

     if (any (z1 .ne. z2)) call abort ()
 ^
internal compiler error: Segmentation fault
0xa61e6f crash_signal
        ../../gcc/toplev.c:358
0x86d453 gimple_code
        ../../gcc/gimple.h:1412
0x86d453 is_gimple_assign
        ../../gcc/gimple.h:2124
0x86d453 gimple_simplify
        /daten/aranym/gcc/test/Build/gcc/gimple-match.c:2536
0x872979 gimple_resimplify2
        ../../gcc/gimple-match-head.c:197
0x8672aa fold_stmt_1
        ../../gcc/gimple-fold.c:3071
0x89dee1 gimplify_modify_expr
        ../../gcc/gimplify.c:4682
0x891c12 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
        ../../gcc/gimplify.c:7693
0x8953f6 gimplify_stmt(tree_node**, gimple_statement_base**)
        ../../gcc/gimplify.c:5434
0x897b20 gimplify_and_add
        ../../gcc/gimplify.c:397
0x897b20 internal_get_tmp_var
        ../../gcc/gimplify.c:542
0x890659 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
        ../../gcc/gimplify.c:8592
0x8a5dac force_gimple_operand_1(tree_node*, gimple_statement_base**, bool
(*)(tree_node*), tree_node*)
        ../../gcc/gimplify-me.c:93
0x8a5edf force_gimple_operand_gsi_1(gimple_stmt_iterator*, tree_node*, bool
(*)(tree_node*), tree_node*, bool, gsi_iterator_update)
        ../../gcc/gimplify-me.c:130
0xaa5e48 expand_complex_comparison
        ../../gcc/tree-complex.c:1392
0xaa5e48 expand_complex_operations_1
        ../../gcc/tree-complex.c:1613
0xaa5e48 tree_lower_complex
        ../../gcc/tree-complex.c:1656
0xaa6e41 tree_lower_complex
        ../../gcc/tree-complex.c:1631
0xaa6e41 execute
        ../../gcc/tree-complex.c:1692

d0eb9b3dcd3d5c6ff85aaff9753c187423aeb764 is the first bad commit
commit d0eb9b3dcd3d5c6ff85aaff9753c187423aeb764
Author: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Nov 6 09:07:39 2014 +0000

    2014-11-06  Richard Biener  <rguenther@suse.de>

        * match.pd: Implement bitwise binary and unary simplifications
        from tree-ssa-forwprop.c.



More information about the Gcc-bugs mailing list