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 c/79537] New: ICE in gimplify_expr, at gimplify.c:12009


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

            Bug ID: 79537
           Summary: ICE in gimplify_expr, at gimplify.c:12009
           Product: gcc
           Version: 7.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fortran@t-online.de
  Target Milestone: ---

Affects versions down to at least 4.8 (on x86_64 GNU/Linux) :


$ cat z1.c
void fn1 ()
{
  L: *&&L;
}


$ gcc-7-20170212 -c z1.c
z1.c: In function 'fn1':
z1.c:3:6: internal compiler error: in gimplify_expr, at gimplify.c:12009
   L: *&&L;
      ^
0x983ca5 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:12009
0x9840c6 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6478
0x97f483 gimplify_statement_list
        ../../gcc/gimplify.c:1716
0x97f483 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:11619
0x9840c6 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6478
0x986a8d gimplify_bind_expr
        ../../gcc/gimplify.c:1290
0x98129a gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:11391
0x9840c6 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6478
0x987789 gimplify_body(tree_node*, bool)
        ../../gcc/gimplify.c:12385
0x987e24 gimplify_function_tree(tree_node*)
        ../../gcc/gimplify.c:12543
0x7f1607 cgraph_node::analyze()
        ../../gcc/cgraphunit.c:657
0x7f4d73 analyze_functions
        ../../gcc/cgraphunit.c:1118
0x7f58ba symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.c:2599

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