This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/78691] [7 Regression] ICE compiling Linux boot code


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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-12-06
                 CC|                            |trippels at gcc dot gnu.org
          Component|c                           |middle-end
            Summary|ICE compiling Linux PPC     |[7 Regression] ICE
                   |boot code                   |compiling Linux boot code
     Ever confirmed|0                           |1

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
testcase.i: In function ‘fn1’:
testcase.i:1:5: internal compiler error: tree check: expected integer_type or
enumeral_type or boolean_type or real_type or fixed_point_type, have
pointer_type in int_fits_type_p, at tree.c:9152
 int fn1(char *p1, char *p2) {
     ^~~
0xe2b2ec tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        ../../gcc/gcc/tree.c:9814
0xe3e74e tree_check5(tree_node const*, char const*, int, char const*,
tree_code, tree_code, tree_code, tree_code, tree_code)
        ../../gcc/gcc/tree.h:3393
0xe3e74e int_fits_type_p(tree_node const*, tree_node const*)
        ../../gcc/gcc/tree.c:9152
0xfc922c generic_simplify_88
        /var/tmp/gcc_build_dir/gcc/generic-match.c:3681
0xfdabf7 generic_simplify_CONVERT_EXPR
        /var/tmp/gcc_build_dir/gcc/generic-match.c:9469
0xfee06a generic_simplify(unsigned int, tree_code, tree_node*, tree_node*)
        /var/tmp/gcc_build_dir/gcc/generic-match.c:11309
0x88cbc2 fold_unary_loc(unsigned int, tree_code, tree_node*, tree_node*)
        ../../gcc/gcc/fold-const.c:7524
0x88f38a fold_build1_stat_loc(unsigned int, tree_code, tree_node*, tree_node*)
        ../../gcc/gcc/fold-const.c:12135
0xfdb07f generic_simplify_CONVERT_EXPR
        /var/tmp/gcc_build_dir/gcc/generic-match.c:9742
0xfee06a generic_simplify(unsigned int, tree_code, tree_node*, tree_node*)
        /var/tmp/gcc_build_dir/gcc/generic-match.c:11309
0x88cbc2 fold_unary_loc(unsigned int, tree_code, tree_node*, tree_node*)
        ../../gcc/gcc/fold-const.c:7524
0x88f38a fold_build1_stat_loc(unsigned int, tree_code, tree_node*, tree_node*)
        ../../gcc/gcc/fold-const.c:12135
0x135e2a8 chrec_convert_1
        ../../gcc/gcc/tree-chrec.c:1366
0xc692e4 add_to_evolution_1
        ../../gcc/gcc/tree-scalar-evolution.c:638
0xc69bdd add_to_evolution
        ../../gcc/gcc/tree-scalar-evolution.c:833
0xc6e593 follow_ssa_edge_binary
        ../../gcc/gcc/tree-scalar-evolution.c:956
0xc6e8b5 follow_ssa_edge_expr
        ../../gcc/gcc/tree-scalar-evolution.c:1096
0xc6e16d follow_ssa_edge_inner_loop_phi
        ../../gcc/gcc/tree-scalar-evolution.c:1308
0xc6e16d follow_ssa_edge
        ../../gcc/gcc/tree-scalar-evolution.c:1357
0xc6e527 follow_ssa_edge_binary
        ../../gcc/gcc/tree-scalar-evolution.c:1010

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]