Bug ID 151
Summary ICE in gimplify_expr, at gimplify.c:8538
Product GDC
Version 4.9.x
Hardware All
OS All
Status NEW
Severity minor
Priority Normal
Component gdc
Assignee ibuclaw@gdcproject.org
Reporter art.08.09@gmail.com

---------------------------------
   struct S { int i; }

   void main() {
      *&S.init.i = 42;
   }
---------------------------------

$ gdc bugzgdcice03.d 

bugzgdcice03.d: In function 'D main':
bugzgdcice03.d:6: internal compiler error: in gimplify_expr, at gimplify.c:8538
0x8a839d gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc/gimplify.c:8538
0x8a546f gimplify_modify_expr
    ../../gcc/gimplify.c:4510
0x8a6eae gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc/gimplify.c:7627
0x8a7645 gimplify_stmt
    ../../gcc/gimplify.c:5373
0x8a7645 gimplify_statement_list
    ../../gcc/gimplify.c:1432
0x8a7645 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc/gimplify.c:8042
0x8ab432 gimplify_stmt
    ../../gcc/gimplify.c:5373
0x8ab432 gimplify_bind_expr
    ../../gcc/gimplify.c:1099
0x8a74e6 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc/gimplify.c:7824
0x8ab954 gimplify_stmt
    ../../gcc/gimplify.c:5373
0x8ab954 gimplify_body(tree_node*, bool)
    ../../gcc/gimplify.c:8734
0x8abd07 gimplify_function_tree(tree_node*)
    ../../gcc/gimplify.c:8887
0x754687 analyze_function
    ../../gcc/cgraphunit.c:649
0x755707 analyze_functions
    ../../gcc/cgraphunit.c:1017
0x756865 finalize_compilation_unit()
    ../../gcc/cgraphunit.c:2321
0x6afbf4 d_finish_compilation(tree_node**, int)
    ../../gcc/d/d-objfile.cc:1950
Please submit a full bug report,


You are receiving this mail because: